help-gplusplus
[Top][All Lists]
Advanced

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

g++/gcc and type long long


From: Nicholas Dimas
Subject: g++/gcc and type long long
Date: Fri, 26 Jan 2001 15:26:34 -0500

Hello,

I have a program where I am declaring a type "long long" object.
I get the following errors when compiling.

Thank you,
Nicholas Dimas

===============================
int main ( )
{
    static long long LOWER48 = ( long long )0xFFFFFFFFFFFFL;
    printf( "%i\n", sizeof(LOWER48));
    return 0;
}

g++ -o lnd longlong.c
longlong.c: In function `int main()':
longlong.c:8: integer constant out of range





reply via email to

[Prev in Thread] Current Thread [Next in Thread]