[Bug c/8216] Code accepted by gcc is rejected by g++ (missing LL suffix on large integer constant)

falk at debian dot org gcc-bugzilla@gcc.gnu.org
Sun Aug 24 21:08:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8216



------- Additional Comments From falk at debian dot org  2003-08-24 21:08 -------
The C standard says the LL is not required, a constant is LL when it doesn't
fit into a smaller type automatically. IMHO, it should be the same in C++, since
that is constistent with C and consistent with the analoguous promotion to long
and is most likely what a future C++ standard would say. But I think others
have argued to the contrary.



More information about the Gcc-bugs mailing list