Am Freitag, 23. Februar 2007 schrieb Dennis Schridde: > Am Freitag, 23. Februar 2007 schrieb Dennis Schridde: > > 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 > > Even more when compiling for WIN32: > game.c: In function ‘saveGame’: > game.c:2833: warning: passing argument 2 of ‘strcpy’ makes pointer from > integer without a cast > game.c: In function ‘getCampaignV’: > game.c:3336: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3337: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3338: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3339: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3340: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3341: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3342: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3343: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3383: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3384: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3390: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3391: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c: In function ‘gameLoadV’: > game.c:3732: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3733: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3734: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3735: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3736: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3737: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3738: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3739: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3779: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3780: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3786: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:3787: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c: In function ‘writeGameFile’: > game.c:4372: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:4373: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:4374: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:4375: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:4376: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:4377: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:4378: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:4379: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:4407: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:4408: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:4412: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > game.c:4413: warning: passing argument 1 of ‘endian_sdword’ from > incompatible pointer type > 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
PS: I think there is some additional weirdness going on... :( Maybe some typedefs are broken...
pgppJiIXNtIYE.pgp
Description: PGP signature
_______________________________________________ Warzone-dev mailing list [email protected] https://mail.gna.org/listinfo/warzone-dev
