GCC 3 C++ linking issue
Oliver Lange
bloodrock@bloody.in-berlin.de
Fri Dec 5 10:38:00 GMT 2003
Hello everyone,
I'm compiling a project with GCC 3.23-r3 for the very first time;
i previously used GCC 2.95.3.
While my project compiles & links well under GCC 2, my first try
to use GCC 3 failed at the linker stage with some error msgs like:
warning: undefined reference to `operator new(unsigned)'
warning: undefined reference to `operator delete(void*)'
These errors are thrown by a C function that makes use of a
C++ class. However, with GCC2 everything went fine.
Any ideas ?
More information about the Gcc-help
mailing list