Re: [hatari-devel] Current compile warning

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


 You asked about that already in 2011-05-22.  :-)

Sorry, I become old and I forget ... :)

Your patch removes the warning. It's OK.

Nice.

Laurent


Le 10/03/2012 19:57, Eero Tamminen a écrit :
Hi,

On lauantai 10 maaliskuu 2012, Laurent Sallafranque wrote:
For your info, I send you the warning I get while compiling hatari :

[ 28%] 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:2374:15: attention :
array subscript is above array bounds [-Warray-bounds]
You asked about that already in 2011-05-22.  :-)

According to comment in code on that line it's supposed to be harmless
and looking at the code I don't see how it could get out of bounds.

I don't get the warning, but does the attached patch change anything?



	- Eero




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