[En-Nut-Discussion] QT fails on dirtraverser.cpp

Harald Kipp harald.kipp at egnite.de
Thu Apr 21 08:49:20 CEST 2011


Hi Ulrich,

On 4/20/2011 10:31 PM, Ulrich Prinz wrote:
> Just tried to compile myself a recent version of qnutconf. But it fails
> on dirtraverser.cpp as free() is not declared in this scope.

It compiled fine here using Qt 4.7.2 (Open Source) and Visual Studio 2010.


> I simply added a #include<stdlib.h>  and it works now.

Obviously GCC needs this.


> Just tell me if I should commit this fix or if there is more to be done
> in that case.

Would be fine.

Thanks,

Harald



More information about the En-Nut-Discussion mailing list