[GCC-XML] size_t problem
Brad King
brad.king at kitware.com
Tue May 2 09:29:35 EDT 2006
Moritz Bunse wrote:
> I try to run gccxml on a SUSE 64Bit 10.0 machine and I always have the
> same problem, even with the simplest c++ hello world programs. The error
> is:
> /usr/include/c++/4.0.2/new:84: error: `operator new' takes type `size_t'
> (`unsigned int') as first parameter
>
> I also used different version of g++ (e.g 3.2.3), but the error is the
> same. When I try gccxml --debug I see an option "-D__SIZE_TYPE__=long
> unsigned int" set. But with gccxml -D__SIZE_TYPE__="unsigned int" test.cxx
> there is still the same error. Can anyone help me?
Make sure you are using GCC-XML from CVS. The 0.6 release came out long
before GCC 4.0 and does not support it.
-Brad
More information about the gccxml
mailing list