help-gplusplus
[Top][All Lists]
Advanced

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

FW: g++/gcc and type long long


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

Hello,

I apologize for some info I left out.

OPERATING SYSTEM:
SunOS 5.7 Generic_106541-08 sun4u sparc SUNW,Ultra-Enterprise

g++ compiler:
     Copyright (c) 1991, 1992,  1993  Free  Software  Foundation,
     Inc.

Thank you,

-----Original Message-----
From: Nicholas Dimas [mailto:ndimas@primaryknowledge.com]
Sent: Friday, January 26, 2001 3:27 PM
To: help-g++@gnu.org
Subject: g++/gcc and type long long


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]