[CF-Devel] Compilation warnings question

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Sun Aug 3 02:33:10 CDT 2003


tchize wrote:

>
     
     No warnings at all using linux.
     
     >
     
     
     >
     
     Perhaps you have problems with the new 64bits experience code.
     
     >
     
     You compiler may be using 32 bits instead of 64 at some place.
     
     >
     
     Could you dump a bit of the warnings so we could check the problem?
     
     >
     
     Thanks
     
     >
     
     
     There are warnings in maaaaaaaaaaany files, not only exp/map ones... So 
i assume there's a difference in implicit/explicit conversions between 
gcc & msvc. Note many are the kind 'signed/unsigned mismatch', so it 
isn't too bad. There are some truncation warnings.

Here a a few random messages:
g:\projets\gpl\crossfire-modifié\crossfire\server\weather.c(174) : 
warning C4305: 'initializing' : truncation from 'const double ' to 'float '
g:\projets\gpl\crossfire-modifié\crossfire\server\weather.c(1303) : 
warning C4018: '==' : signed/unsigned mismatch
g:\projets\gpl\crossfire-modifié\crossfire\socket\image.c(346) : warning 
C4761: integral size mismatch in argument; conversion supplied
g:\projets\gpl\crossfire-modifié\crossfire\socket\init.c(235) : warning 
C4133: 'function' : incompatible types - from 'int *' to 'const char *'
g:\projets\gpl\crossfire-modifié\crossfire\socket\request.c(308) : 
warning C4101: 'smoothname' : unreferenced local variable

FYI, 565 warnings when building the server itself :-)

Nicolas 'Ryo'


_______________________________________________
crossfire-devel mailing list
     
     crossfire-devel at lists.real-time.com
     
     
     https://mailman.real-time.com/mailman/listinfo/crossfire-devel
     
     
    


More information about the crossfire mailing list