bug-gnulib
[Top][All Lists]
Advanced

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

test-intprops.c: many new warnings


From: Jim Meyering
Subject: test-intprops.c: many new warnings
Date: Tue, 24 May 2011 21:36:45 +0200

Still trying the latest from gnulib via coreutils,
"make check" was inundated with new warnings.
Nearly 500 lines worth.

Of course, I could simply turn off the warnings and/or -Werror
when building in gnulib-tests/, but I'd rather not.
I'll defer "upgrading to the latest" for now ;-)

...
Making check in gnulib-tests
...
test-intprops.c: In function 'main':
test-intprops.c:142:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:142:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:142:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:142:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:143:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
...
test-intprops.c:164:3: error: string length '4422' is greater than the length 
'4095' ISO C99 compilers are required to support [-Werror=overlength-strings]
test-intprops.c:166:3: error: string length '5865' is greater than the length 
'4095' ISO C99 compilers are required to support [-Werror=overlength-strings]
test-intprops.c:172:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:172:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:172:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:172:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:172:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:172:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:175:3: error: string length '4096' is greater than the length 
'4095' ISO C99 compilers are required to support [-Werror=overlength-strings]
test-intprops.c:178:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:178:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
...
test-intprops.c:192:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:192:3: error: comparison of unsigned expression >= 0 is always 
true [-Werror=type-limits]
test-intprops.c:192:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
...
test-intprops.c:215:3: error: string length '4605' is greater than the length 
'4095' ISO C99 compilers are required to support [-Werror=overlength-strings]
test-intprops.c:216:3: error: string length '4241' is greater than the length 
'4095' ISO C99 compilers are required to support [-Werror=overlength-strings]
test-intprops.c:219:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
...
test-intprops.c:240:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:240:3: error: string length '4143' is greater than the length 
'4095' ISO C99 compilers are required to support [-Werror=overlength-strings]
test-intprops.c:240:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
...
test-intprops.c:241:3: error: string length '5235' is greater than the length 
'4095' ISO C99 compilers are required to support [-Werror=overlength-strings]
test-intprops.c:241:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
...
test-intprops.c:241:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:241:3: error: string length '4521' is greater than the length 
'4095' ISO C99 compilers are required to support [-Werror=overlength-strings]
test-intprops.c:245:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
test-intprops.c:245:3: error: comparison of unsigned expression < 0 is always 
false [-Werror=type-limits]
...
cc1: all warnings being treated as errors

make[5]: *** [test-intprops.o] Error 1
make[5]: Leaving directory `/h/j/w/co/cu/gnulib-tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/h/j/w/co/cu/gnulib-tests'
make[3]: *** [check-recursive] Error 1
make[3]: Leaving directory `/h/j/w/co/cu/gnulib-tests'
make[2]: *** [check] Error 2
make[2]: Leaving directory `/h/j/w/co/cu/gnulib-tests'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/h/j/w/co/cu'
make: *** [check] Error 2



reply via email to

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