Patch to remove pedantic ANSI warning for long long format when -Wno-long-long is supplied
Martin v. Loewis
martin@mira.isdn.cs.tu-berlin.de
Mon Feb 22 16:18:00 GMT 1999
> I got tired of looking at
> "warning: ANSI C does not support the `ll' length modifier"
So did I. Therefore, I put
__extension__ typedef long long verylargenumber;
into my source, and use that type throughout. Of course, you could
also put __extension__ in all places you care about. This looks like a
better approach to me: Tell, the compiler we *know* that we are using
an extension, and allow grepping for __extension__ if porting becomes
necessary.
Regards,
Martin
More information about the Gcc-bugs
mailing list