It most likely is wrong since I have no idea what it does - I came up with the SDLmain thing myself since the linker complained it was missing, and the g++ thing was suggested by someone in the bannister forums. I prefer to think of this like a gaffer tape, temporary solution.