[hatari-devel] Compiler Warnings

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Hi,

I compiled oldcore Hatari with gcc-4.4.7 and got some warnings that don't
appear with gcc-4.1.2:


Scanning dependencies of target Falcon

[ 28%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp.c.o
hatari.4748/src/falcon/dsp.c: In function ‘DSP_DisasmMemory’:
hatari.4748/src/falcon/dsp.c:339: warning: array subscript is above array bounds

[ 30%] Building C object src/falcon/CMakeFiles/Falcon.dir/dsp_cpu.c.o
hatari.4748/src/falcon/dsp_cpu.c: In function ‘dsp_btst_pp’:
hatari.4748/src/falcon/dsp_cpu.c:1226: warning: array subscript is above array bounds
hatari.4748/src/falcon/dsp_cpu.c: In function ‘dsp_jset_pp’:
hatari.4748/src/falcon/dsp_cpu.c:1226: warning: array subscript is above array bounds
hatari.4748/src/falcon/dsp_cpu.c: In function ‘dsp_jclr_pp’:
hatari.4748/src/falcon/dsp_cpu.c:1226: warning: array subscript is above array bounds
hatari.4748/src/falcon/dsp_cpu.c: In function ‘dsp_bchg_pp’:
hatari.4748/src/falcon/dsp_cpu.c:1226: warning: array subscript is above array bounds
hatari.4748/src/falcon/dsp_cpu.c: In function ‘dsp_bset_pp’:
hatari.4748/src/falcon/dsp_cpu.c:1226: warning: array subscript is above array bounds




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/