This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: Warning fixes


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]