This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
On Mon, Nov 20, 2000 at 03:41:39PM +0100, Jakub Jelinek wrote: > - Is gcc right in emitting: > test.c: > long long x = -9223372036854775808LL; > test.c:1: warning: decimal constant is so large that it is unsigned > warning? All of egcs 1.1.2, gcc 2.95, RH gcc 2.96 and CVS gcc 2.97 emit it, > but it looks pretty bogus to me, I know what would need to change but I'm > not sure if gcc is not for some reason right about it. Apparently it is right from reading C standard, either the change to 0x8000...0 or -9223372036854775807-1 could do the trick. Sorry. > * stdlib/tst-strtol.c (tests): Avoid (bogus?) decimal constant is so So the (bogus?) is inappropriate there. Jakub
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |