This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: gcc 3.3: long long bug?
- From: "A.R. Ashok Kumar" <ashokar at sankhya dot com>
- To: Lev Assinovsky <LAssinovsky at algorithm dot aelita dot com>
- Cc: Andreas Schwab <schwab at suse dot de>, Eric Botcazou <ebotcazou at libertysurf dot fr>, gcc-help at gcc dot gnu dot org
- Date: Mon, 7 Apr 2003 19:05:10 +0530 (IST)
- Subject: RE: gcc 3.3: long long bug?
Hi,
> No, what was the reason to change the behavior of 3.2?
> We developing the portable application which should work
> in Windows 2000 also.
> There is an automatic recognition of long long constants in MSVC though you can
> add i64 suffix.
> With 3.3 I have to write:
> const long long n =
> #ifdef WIN32
> 34359738368
> #else
> 34359738368LL
> #endif
> ;
>
> Not nice, right?
Is gcc3.3 for Win32 gives error for the following statement?
const long long n = 34359738368LL;
If so, it is not nice behaviour. Does it work for gcc 3.2 ?
- AshokA -