gcc 3.3: long long bug?

Eric Botcazou ebotcazou@libertysurf.fr
Mon Apr 7 11:42:00 GMT 2003


> const long long n = 34359738368; // 2^35
>
> Got:
> max.cpp:1: error: integer constant is too large for "long" type

Append "LL" to the constant.

-- 
Eric Botcazou



More information about the Gcc-bugs mailing list