GCC 3 C++ linking issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 ?


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux