misleading warning array subscript is above array bounds (in fact gcc bug)
Submitted by pet..@..nam.cz
Assigned to Xorg Project Team
Description
Created attachment 64256 proposed patch
Hi,
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.
Petr
Patch 64256, "proposed patch":
bsd-array-bounds.diff