Menu

#57 Building with GCC 4.5 MinGW

open
nobody
None
5
2010-09-03
2010-09-03
No

Using latest version of CppUnit and latest MinGW as of 9/1/2010
GCC 4.5.0

g++ -IL:\cpp\3rdparty\include\cppunit -O0 -g3 -Wall -c -fmessage-length=0 -oTypeInfoHelper.o ..\TypeInfoHelper.cpp
..\TypeInfoHelper.cpp: In static member function 'static std::string CppUnit::TypeInfoHelper::getClassName(const std::type_info&)':
..\TypeInfoHelper.cpp:27:16: error: 'free' was not declared in this scope

Seems to be fixed by including cstdlib in that file. I haven't tested working code yet, however.
Is this a known issue. Is there a proper place for this include to go?

Discussion


Log in to post a comment.