This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: --enable-long-long by default?
Haruhiko Okumura <okumura@matsusaka-u.ac.jp> writes:
| Nathan Myers <ncm@cantrip.org> wrote:
|
| > On Wed, May 24, 2000 at 03:28:54PM -0700, Benjamin Kosnik wrote:
| > >
| > > Is there a reason ["-enable-long-long"] is not enabled by default?
| > >
| > > If there are no substantive objections, I'll enable it.
| >
| > "long long" is not legal ISO C++. I suppose that as long as
| > "-ansi" or "-pedantic" turns if off, it's ok to default on,
| > but I prefer having extensions turned on when users ask for
| > them, not by default.
|
| "long long" is in C99, and I can't imagine the situation where
| enabling "long long" breaks any existing code.
Aha, I see you didn't follow the lengthy discussion about "long long".
WG14 deliberately broke ISO C 90 by adopting "long long" -- ISO C90
said "long" is the widest integer type.
(The French national body, for a long time disapproved "long long"
preceisely for that breakage.) But that is another story since the
standard was approved.
| ... I hope it's on by
| default.
I'd much prefer it be activated on demand.
-- Gaby