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

2011-05-25 Thread Voelker, Bernhard
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

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

2011-05-25 Thread Eric Blake
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':

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

2011-05-25 Thread Eric Blake
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

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

2011-05-25 Thread Eric Blake
[adding bug-gnulib] On 05/25/2011 03:29 PM, Eric Blake wrote: 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':

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

2011-05-25 Thread Paul Eggert
On 05/25/11 14:48, Eric Blake wrote: This patch silences the gcc warning even for gcc too old to honor the pragma, but I can't help but feel that it might be too gross (it makes functions like uinttostr larger in size). ... - *--p = '-'; + if (ii) +*--p = '-'; Yes, it's