Re: nothrow?

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

 



> On Sun, 2009-03-08 at 22:27 -0700, Ian Lance Taylor wrote:
> michael@camille OurRPG $ gcc -O2 -W -Wall -pedantic `sdl-config
> --cflags` -c character.cpp

At a guess, I think it is being compiled as C, not C++ - try using this
command line:

g++ O2 -W -Wall -pedantic `sdl-config --cflags` -c character.cpp

to force C++ compilation.



[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