Warnings

From vice-emu
Revision as of 13:02, 30 September 2014 by Gpz (talk | contribs)
Jump to navigation Jump to search
  • gpz (x86, Linux/Gentoo, 64bit, GCC, GnomeUI) (r28471)
-
  • gpz (x86, Linux/Gentoo, 64bit, GCC, SDL) (r28471)
-
  • gpz (Win32 crosscompile on Linux/mingw32, GCC 3.x) (r28473)
mon_assemble65816.c: In function `mon_assemble_instr':
mon_assemble65816.c:162: warning: comparison is always true due to limited range of data type
  • gpz (Win32, GCC 3.x (mingw32)) (r28473)
In file included from archdep.c:43:0:
c:\mingw\include\dir.h:37:2: warning: #warning WARNING - The dir.h file is obsolete and will be removed; use io.h instead. [-Wcpp]
 #warning WARNING - The dir.h file is obsolete and will be removed; use io.h instead.
  ^
intl.c: In function 'intl_init':
intl.c:466:34: warning: iteration 14u invokes undefined behavior [-Waggressive-loop-optimizations]
             if (windows_to_iso[i].hotkey_cap) {
                                  ^
intl.c:465:9: note: containing loop
         for (i = 0; i < sizeof(language_table); i++) {
         ^
  • strik (x86, Windows, 32bit, MSVC6, release build) (r22786)

For the debug build, some warnings are missing.

vice\src\zfile.c(202) : warning C4018: '<' : signed/unsigned mismatch
vice\src\monitor\mon_lex.c(2999) : warning C4018: '<' : signed/unsigned mismatch