This is the mail archive of the gcc-help@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]

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 -



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