This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.3: long long bug?
- From: Eric Botcazou <ebotcazou at libertysurf dot fr>
- To: "Lev Assinovsky" <LAssinovsky at algorithm dot aelita dot com>
- Cc: <gcc-bugs at gcc dot gnu dot org>,<gcc-help at gcc dot gnu dot org>
- Date: Mon, 7 Apr 2003 13:43:19 +0200
- Subject: Re: gcc 3.3: long long bug?
- References: <3F6F4712B759A34ABD453A8B39C10D624801F8@bagman.edm.com>
> const long long n = 34359738368; // 2^35
>
> Got:
> max.cpp:1: error: integer constant is too large for "long" type
Append "LL" to the constant.
--
Eric Botcazou