> 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.