This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]