This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/8216] Code accepted by gcc is rejected by g++ (missing LL suffix on large integer constant)
- From: "falk at debian dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Aug 2003 21:08:06 -0000
- Subject: [Bug c/8216] Code accepted by gcc is rejected by g++ (missing LL suffix on large integer constant)
- References: <20021013164600.8216.schmid@snake.iap.physik.tu-darmstadt.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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.