[CF-Devel] Compilation warnings question

crossfire-devel-admin at archives.real-time.com crossfire-devel-admin at archives.real-time.com
Sun Aug 3 12:18:20 CDT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Le Dimanche 03 Août 2003 09:33, Nicolas Weeger a écrit :
>
     
      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'
     
     >
     
     
     
May be a core problem with typedefs for sint32, aso, checking, may take a 
while.
And thanks for information...

>
     
     
     >
     
      _______________________________________________
     
     >
     
      crossfire-devel mailing list
     
     >
     
     
      crossfire-devel at lists.real-time.com
      
      
     >
     
     
      https://mailman.real-time.com/mailman/listinfo/crossfire-devel
      
      
     -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/LUPhHHGOa1Q2wXwRArkuAJ9dnHVbxgIV0r2AUaJNF98A8c/hAACffdDa
o3CZlBfcJ0WwP+3hmSKEwxA=
=v3Xv
-----END PGP SIGNATURE-----


_______________________________________________
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