misleading warning array subscript is above array bounds (in fact gcc bug)
Submitted by pet..@..nam.cz
Assigned to Xorg Project Team
Created attachment 64256 proposed patch
current gcc-4.7 produces (at least on kfreebsd-amd64) misleading warning during compilation of xserver-xorg-input-mouse. It together with -Werror leads to compilation failure.
The attached diff workarounds this gcc bug.
Patch 64256, "proposed patch":