This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c/9569: 8 bytes seems to long for long long int
- From: Segher Boessenkool <segher at koffie dot nl>
- To: aj at gcc dot gnu dot org
- Cc: gcc-prs at gcc dot gnu dot org,
- Date: 6 Feb 2003 07:36:01 -0000
- Subject: Re: c/9569: 8 bytes seems to long for long long int
- Reply-to: Segher Boessenkool <segher at koffie dot nl>
The following reply was made to PR c/9569; it has been noted by GNATS.
From: Segher Boessenkool <segher@koffie.nl>
To: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Cc: "Joseph S. Myers" <jsm28@cam.ac.uk>,
Neil Booth <neil@daikokuya.co.uk>, aj@gcc.gnu.org,
gcc-bugs@gcc.gnu.org, stefaandr@hotmail.com, gcc-gnats@gcc.gnu.org
Subject: Re: c/9569: 8 bytes seems to long for long long int
Date: Thu, 06 Feb 2003 07:12:02 +0100
Falk Hueffner wrote:
> I still don't get it. In C99, this is perfectly legal code, and does
> what the reporter wants. It is of course documented nowhere, but I
> would assume that g++ inherits C99's long long semantics if long long
> is enabled. Why not this part?
Apart from the C vs. C++ issue, GCC is not a C99 compiler
by default, you have to pass -std=c99 or similar.
I wouldn't mind if this changed...
Segher