$ make
g++ -W -Wall -o0 -g `sdl-config --cflags --libs` -c src/SDLWrapper.cpp -o obj/SDLWrapper.o
src/SDLWrapper.cpp: In member function ‘SDL_Surface* SDLWrapper::convertImage(SDL_Surface)’:
src/SDLWrapper.cpp:23:16: error: no match for ‘operator!=’ in ‘inSurf != 0l’
src/SDLWrapper.cpp:24:39: error: cannot convert ‘SDL_Surface’ to ‘SDL_Surface*’ for argument ‘1’ to ‘SDL_Surface* SDL_DisplayFormat(SDL_Surface*)’
src/SDLWrapper.cpp:31:10: error: cannot convert ‘SDL_Surface’ to ‘SDL_Surface*’ in return
src/SDLWrapper.cpp: In constructor ‘SDLWrapper::SDLWrapper()’:
src/SDLWrapper.cpp:52:48: error: no match for ‘operator=’ in ‘tmpimage = IMG_Load(((const char*)"media/images/player.png"))’
/usr/include/SDL/SDL_video.h:96:28: note: candidate is: SDL_Surface& SDL_Surface::operator=(const SDL_Surface&)
src/SDLWrapper.cpp:55:49: error: no match for ‘operator=’ in ‘tmpimage = IMG_Load(((const char*)"media/images/invader.png"))’
/usr/include/SDL/SDL_video.h:96:28: note: candidate is: SDL_Surface& SDL_Surface::operator=(const SDL_Surface&)
src/SDLWrapper.cpp:58:51: error: no match for ‘operator=’ in ‘tmpimage = IMG_Load(((const char*)"media/images/explotion.png"))’
/usr/include/SDL/SDL_video.h:96:28: note: candidate is: SDL_Surface& SDL_Surface::operator=(const SDL_Surface&)
src/SDLWrapper.cpp:61:51: error: no match for ‘operator=’ in ‘tmpimage = IMG_Load(((const char*)"media/images/projetile.png"))’
/usr/include/SDL/SDL_video.h:96:28: note: candidate is: SDL_Surface& SDL_Surface::operator=(const SDL_Surface&)
src/SDLWrapper.cpp: In member function ‘SDL_Surface* SDLWrapper::convertImage(SDL_Surface)’:
src/SDLWrapper.cpp:32:1: warning: control reaches end of non-void function
make: *** [obj/SDLWrapper.o] Fel 1
mer problem... eller?