[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gdb-patches
Subject:    RFC: Warning fixes
From:       eliz () gnu ! org (Eli Zaretskii)
Date:       2006-12-29 12:15:00
Message-ID: uy7oq3nlm.fsf () gnu ! org
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic