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

gcc 3.3: long long bug?


Hi all!
Took gcc-20030331 snap.
Compile max.cpp:

const long long n = 34359738368; // 2^35

Got:
max.cpp:1: error: integer constant is too large for "long" type

gcc3.2 doesn't give any errors.

Is that an error of gcc 3.3 or mine?

Thanks, 
----
Lev Assinovsky
Aelita Software Corporation
O&S Core Division, Programmer
ICQ# 165072909


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