RFC: Warning fixes

Eli Zaretskii eliz@gnu.org
Fri Dec 29 12:15:00 GMT 2006


> Date: Thu, 28 Dec 2006 18:09:26 -0500
> From: Daniel Jacobowitz <drow@false.org>
> Cc: gdb-patches@sourceware.org
> 
> The warning is a bit annoying, though.  We can't portably tell whether
> the type of sig will be signed or unsigned.  Perhaps we should force
> sig to be an int before bounds checking, instead, and I should file a
> GCC bug report.  How's that sound to you?

A GCC bug report is in order, I agree: the compiler shouldn't punish
the programmer for its choice of data type.



More information about the Gdb-patches mailing list