Warning in the compile..

Having trouble with the game? Report issues and get help here. Read this first!

Moderator: Forum Moderators

Forum rules
Before reporting issues in this section, you must read the following topic:
Post Reply
mezz

Warning in the compile..

Post by mezz »

It's not a serious problem, but I only get a warning in the compile in FreeBSD 5.2-CURRENT w/ GCC v3.3.3. It's harmless and playable, thought.

Version: 0.6.1

Code: Select all

sdl_utils.cpp: In function `SDL_Surface* rotate(SDL_Surface*, float)':
sdl_utils.cpp:218: warning: assignment to `short int' from `float'
sdl_utils.cpp:218: warning: argument to `short int' from `float'
sdl_utils.cpp:219: warning: assignment to `short int' from `float'
sdl_utils.cpp:219: warning: argument to `short int' from `float'
sdl_utils.cpp:220: warning: assignment to `short int' from `float'
sdl_utils.cpp:220: warning: argument to `short int' from `float'
sdl_utils.cpp:221: warning: assignment to `short int' from `float'
sdl_utils.cpp:221: warning: argument to `short int' from `float'
sdl_utils.cpp:223: warning: assignment to `short int' from `float'
sdl_utils.cpp:223: warning: argument to `short int' from `float'
sdl_utils.cpp:224: warning: assignment to `short int' from `float'
sdl_utils.cpp:224: warning: argument to `short int' from `float'
sdl_utils.cpp:225: warning: assignment to `short int' from `float'
sdl_utils.cpp:225: warning: argument to `short int' from `float'
sdl_utils.cpp:226: warning: assignment to `short int' from `float'
sdl_utils.cpp:226: warning: argument to `short int' from `float'
KK_r
Posts: 277
Joined: November 17th, 2003, 4:25 pm
Location: Malmö, Sweden

Post by KK_r »

and there's '\n' missing in some file ends, looks ugly :P
Post Reply