Re: long long constant

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux