bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8732: uinttostr: comparison of unsigned expression < 0 is always fal


From: Eric Blake
Subject: bug#8732: uinttostr: comparison of unsigned expression < 0 is always false
Date: Wed, 25 May 2011 15:29:12 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10

tag 8732 wontfix
close 8732
done


On 05/25/2011 01:54 PM, Eric Blake wrote:
> On 05/25/2011 01:23 AM, Voelker, Bernhard wrote:
>> Hi *,
>>
>> building coreutils-8.12 with '--enable-gcc-warnings' fails on my SLES 10.3 
>> server:
>>
>>   CC       uinttostr.o
>> cc1: warnings being treated as errors
>> In file included from uinttostr.c:3:
>> anytostr.c: In function 'uinttostr':
>> anytostr.c:39: warning: comparison of unsigned expression < 0 is always false
> 
> the warning is spurious.  But we don't know how
> to shut up gcc.

You're not the first to hit this, either:

http://lists.gnu.org/archive/html/bug-gnulib/2010-10/msg00435.html

Since our party line back then was to "upgrade gcc or quit using -Werror
with old gcc", I'm marking this as a wontfix; but if you can come up
with a patch, we can reopen it.

-- 
Eric Blake   address@hidden    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]