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: long long constant


Thank you for your answers 

Vincent TORRI

On Fri, 18 Jun 2004, Eljay Love-Jensen wrote:

> 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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]