Re: RFC: Warning fixes

Eli Zaretskii
2006-12-29T12:15:15Z

> 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.