Warnings: Difference between revisions

From vice-emu
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 25: Line 25:
  #warning WARNING - The dir.h file is obsolete and will be removed; use io.h instead.
  #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++) {
        ^
</pre>
</pre>



Revision as of 15:12, 30 September 2014

  • gpz (x86, Linux/Gentoo, 64bit, GCC, GnomeUI) (r28471)
-
  • gpz (x86, Linux/Gentoo, 64bit, GCC, SDL) (r28471)
-
  • gpz (Win32 crosscompile on Linux/32bit 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 (64bit 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.
  ^
  • 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