Michael G Thomas wrote:
> src/tkscid.cpp: In function ‘int sc_name_spellcheck(ClientData, 
> Tcl_Interp*, int, const char**)’:
> src/tkscid.cpp:12479:61: warning: array subscript is above array 
> bounds [-Warray-bounds]
>                              corrections[j-1] = corrections[j];
>                                                              ^
> src/tkscid.cpp:12479:61: warning: array subscript is above array 
> bounds [-Warray-bounds]
> src/tkscid.cpp:12479:44: warning: array subscript is above array 
> bounds [-Warray-bounds]
>                              corrections[j-1] = corrections[j];
>
> Noob here but: Should we not be more anal-retentive about these 
> data-modifying functions?
>
>   
Hi,
thanks for reporting.

However, the -Warray-bounds of gcc is not very stable:
http://www.google.com/search?q=array-bounds+gcc+bug

The scid code at line src/tkscid.cpp:12479 seems good to me (maybe a 
little overcomplicated).
Bye,
Fulvio

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk
_______________________________________________
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users

Reply via email to