Easy error compiling with gcc

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

 



Hi,

I'm making a program and of course I'm using the new and delete operator.
When I compile the program I receive the following error "undefined
reference to 'operator delete(void *)' "

I think that this error could be because I'm not using some library.

Because when I compiling the same program with "g++" it's ok.

But I need to compile it with "gcc".

Please if possible send me the full command line to compile a C++ program
with "gcc" instead "g++"
 

Thanks, Robe.



[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