Re: [Cppunit-devel] cppunit2 does not compile
Brought to you by:
blep
|
From: CppUnit d. m. l. <cpp...@li...> - 2006-09-06 21:54:42
|
Hi!
On Wed, 2006-09-06 at 19:35 +0200, CppUnit development mailing list
wrote:
> CppUnit development mailing list wrote:
> I also noticed yesterday that reference documentation generation fails on
> Linux. You'll need to edit sconscruct and comment the last line. Change:
> buildProjectInDirectory( 'doc' )
> to:
> #buildProjectInDirectory( 'doc' )
>
> Sorry about this,
Don't worry about it, I guess your primary development platform is not
linux? Anyways I had to add -fpermissive to the linux target to compile
a few more files but now I am stuck with:
g++ -o buildscons/linux-gcc/src/cpputtest/smallmaptest.o -c -fpermissive
-DCPPTL_NO_AUTOLINK -Iinclude -I. src/cpputtest/smallmaptest.cpp
In file included from include/cpptl/smallmap.h:4,
from src/cpputtest/smallmaptest.h:4,
from src/cpputtest/smallmaptest.cpp:1:
include/cpptl/_stlimpl.h: In member function `T*
CppTL::MallocAllocator<T>::allocate()':
include/cpptl/_stlimpl.h:201: warning: there are no arguments to
`malloc' that depend on a template parameter, so a declaration of
`malloc' must be available
include/cpptl/_stlimpl.h: In member function `T*
CppTL::MallocAllocator<T>::allocateArray(unsigned int)':
include/cpptl/_stlimpl.h:211: warning: there are no arguments to
`malloc' that depend on a template parameter, so a declaration of
`malloc' must be available
I guess gcc 3.4.6 is not supported anymore. I will switch to 4.1.1 soon
and then try again.
So for now I will continue with cppunit (old version)
Thanks a lot, Fabian
|