On 2/23/07, Dennis Schridde <[EMAIL PROTECTED]> wrote:
While compiling I found these error messages. Maybe there is an undetected
problem here?
game.c: In function 'loadSaveMessageV':
game.c:10173: warning: passing argument 1 of 'endian_sdword' from incompatible
pointer type
game.c: In function 'writeMessageFile':
game.c:10337: warning: passing argument 1 of 'endian_sdword' from incompatible
pointer type
game.c: In function 'loadSaveFlagV':
game.c:10611: warning: passing argument 1 of 'endian_sdword' from incompatible
pointer type
game.c: In function 'writeFlagFile':
game.c:10811: warning: passing argument 1 of 'endian_sdword' from incompatible
pointer type
game.c:10862: warning: passing argument 1 of 'endian_sdword' from incompatible
pointer type
Oddly enough, there are different warnings from trunk. I committed a
change to those.
As far as these warnings go, each one is marked by a "FIXME: enum may
be a different type" comment. The warnings are *probably* nothing to
worry about because I believe that enum types are implemented as
signed ints, but I put those comments in just in case. I don't know
if there is a portable, C-compile-friendly way to determine what size
an enum type is and break its bytes apart.
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev