This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/13358] long long and C++ do not mix well in 3.3/3.4
- From: "bangerth at dealii dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Dec 2003 19:43:41 -0000
- Subject: [Bug c++/13358] long long and C++ do not mix well in 3.3/3.4
- References: <20031208180553.13358.lloyd@randombit.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From bangerth at dealii dot org 2003-12-08 19:43 -------
Confirmed. In the meantime, use something like this to work
around the problem:
// use this definition for gcc
#define LONGLONG(a) a ## LL
// or this for a compiler that doesn't need the suffix
#define LONGLONG(a) a
long long int i = LONGLONG(0x1111222233334444);
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2003-12-08 19:43:41
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13358