Menu

#2 Warnings from Sandbox 2.2.3 dev

open
nobody
None
5
2008-09-21
2008-09-21
Andree Chea
No

Hi! This isn't really a bug, but I got these warnings when I was compiling Sandbox 2.2.3 dev and I was told to report these warnings to moviecube's maintainer since the code is synced. Sandbox still compiles nevertheless (they don't look like big warnings).

g++ -Wall -fsigned-char -O2 -fomit-frame-pointer -Ishared -Iengine -Ifpsgame -Imoviecube -Ienet/include -I/usr/X11R6/include `sdl-config --cflags` -c -o moviecube/moviecube.o moviecube/moviecube.cpp
moviecube/movieentities.h: In member function 'virtual vector<extentity*>& movieclient::movieentities::getents()':
moviecube/movieentities.h:67: warning: dereferencing type-punned pointer will break strict-aliasing rules
moviecube/movieentities.h: In member function 'virtual void movieclient::movieentities::fixentity(extentity&)':
moviecube/movieentities.h:134: warning: converting to 'short int' from 'float'
moviecube/movieentities.h:163: warning: converting to 'short int' from 'float'
moviecube/movieentities.h:164: warning: converting to 'short int' from 'float'

Discussion


Log in to post a comment.