[hatari-devel] Compilation Warnings
Laurent Sallafranque
laurent.sallafranque at free.fr
Sun May 22 22:48:15 CEST 2011
Hi,
I've compiled the latest source.
I get the following warnings :
[ 24%] Building C object src/debug/CMakeFiles/Debug.dir/debugui.c.o
/home/laurent/Atari/hatari/src/debug/debugui.c: In function
‘DebugUI_SetOptions’:
/home/laurent/Atari/hatari/src/debug/debugui.c:344:2: warning: new
qualifiers in middle of multi-level non-const cast are unsafe
[ 30%] Building C object src/debug/CMakeFiles/Debug.dir/68kDisass.c.o
/home/laurent/Atari/hatari/src/debug/68kDisass.c: In function
‘Disass68k_loop’:
/home/laurent/Atari/hatari/src/debug/68kDisass.c:2373:15: warning: array
subscript is above array bounds
[ 71%] Building C object src/CMakeFiles/hatari.dir/main.c.o
/home/laurent/Atari/hatari/src/main.c: In function ‘main’:
/home/laurent/Atari/hatari/src/main.c:739:2: warning: new qualifiers in
middle of multi-level non-const cast are unsafe
[ 80%] Building C object src/CMakeFiles/hatari.dir/stMemory.c.o
/home/laurent/Atari/hatari/src/stMemory.c: In function ‘STMemory_SafeCopy’:
/home/laurent/Atari/hatari/src/stMemory.c:67:2: warning: format ‘%i’
expects type ‘int’, but argument 5 has type ‘size_t’
I haven't included the newcpu warnings.
Regards
Laurent
More information about the hatari-devel
mailing list