This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Long Long Int and gcc2.95
- To: gcc-bugs at gcc dot gnu dot org
- Subject: Long Long Int and gcc2.95
- From: James McKelvey <mckelvey at fafnir dot com>
- Date: Sun, 8 Aug 1999 20:33:56 -0700
- Reply-To: mckelvey at fafnir dot com
gcc 2.95:
In iostream.h, long long int operators are guarded by:
#if defined(__GNUC__)
__extension__ ostream& operator<<(long long n);
__extension__ ostream& operator<<(unsigned long long n);
#endif
But in the .cc file, by:
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
ostream& ostream::operator<<(long long n)
Is there a reason for this inconsistency? I'd like to use long long int with
-ansi, so I specify -Wno-long-long. But that no longer works, because the
code is no longer in the library. It worked OK in egcs 1.1.2.
Please answer via email, because the list-lords don't deign to send to
Earthlink addresses.
---
Where diesel guitars from faraway bars, blast out the
best songs from our holy wars. Coyote carnival catches
on fire, all the cops in the world pick us up on radar.
Jim McKelvey mckelvey@fafnir.com