On Thu, 28 Oct 2004 19:22:02 -0700, Bill Coffman <[EMAIL PROTECTED]> wrote: > Thanks for the info... > > Apparently, > > gcc -ansi -pedantic > > is supposed to be ANSI C '89. Equiv to -std=c89. Also, my > Configure.pl generated make file uses neither -ansi nor -pedantic. I > do have access to a K&R C v2, but it doesn't look like it's going to > match the actual practice. Oh well. So long, as my code works, I'm > happy. > > Incidentally, I tried adding -ansi and -pedantic and I got lots of > warnings, like "long long" not supported by ANSI C'89, etc. (how can > you do 64 bit ints then?). I also got errors that caused outright > failure. Perhaps it's best to forget the whole C'89 thing. But maybe > someone should remove that from the documentation? Just a thought.
I thought long long was only defined in C99, not C89? -- bd