Patch -Wtraditional, warn about `U' integer constant suffix

Richard Earnshaw
Tue Aug 8 03:17:00 GMT 2000 said:
> SunOS4, which I use as a benchmark, supports `L'.  However I've
> noticed in the past it has supported some extensions, e.g. void*. I
> don't know whether all K&R compilers grok `L' or not. 

OK, time to put this issue to bed...

K&R - The C Programming Language, Appendix A (page 180):

2.4.2 Explicit long constants

A decimal, octal, or hexadecimal integer constant immediately followed by 
l (letter ell) or L is a long constant.  ...


More information about the Gcc-patches mailing list