[GCC-XML] GCC XML fails to compile standard library headers like <new>

satarupa pal satarupa.pal at gmail.com
Wed Aug 5 01:00:21 EDT 2009


I am using gcc xml compiler gccxml_cc1plus.exe (version might be 0.6,
not very sure)

One of Symbian S60 project includes standard library header <new> ,

Gcc XML fails to compile it throwing error saying  operator new and
delete throw different errors than previous declaration.

I have tried with Mingw icluded <new> header also but no success.

It gives error mainly for below

void* operator new(std::size_t) throw (std::bad_alloc);
void* operator new[](std::size_t) throw (std::bad_alloc);
void operator delete(void*) throw();
void operator delete[](void*) throw();
void* operator new(std::size_t, const std::nothrow_t&) throw();
void* operator new[](std::size_t, const std::nothrow_t&) throw();
void operator delete(void*, const std::nothrow_t&) throw();
void operator delete[](void*, const std::nothrow_t&) throw();

Plz help me in resolving this issue. How can I make GCC XML compiler
to work correctly on this.

I am working in Nokia. My team uses this GCC XML compiler to compile
and analyze any s60 Project. We can't change the source code. But as
this sources are working properly with armv5 or RVCT compiler,
GCC XML also should work properly.

Thanks in advance for any help.


with regards,

Satarupa Pal

More information about the gccxml mailing list