long long constant

Eljay Love-Jensen eljay@adobe.com
Fri Jun 18 13:08:00 GMT 2004


I stand corrected for C99!  :-)

(I use C from 1985 to 1990.  After I switched to C++ in 1990, I've not gone 
back to C.)

Not true for C++98.

$ g++ -std=c99 -c longlong.cpp
cc1plus: warning: "-std=c99" is valid for C/ObjC but not for C++
longlong.cpp:1: error: integer constant is too large for "long" type

--Eljay



More information about the Gcc-help mailing list