--enable-long-long by default?
Jason Merrill
jason@cygnus.com
Thu May 25 09:35:00 GMT 2000
>>>>> Martin v Loewis <martin@loewis.home.cs.tu-berlin.de> writes:
> long long, as a built-in type, is available in g++ by default. It is
> an extension that cannot be mistaken as a well-formed C++ program, so
> -ansi has nothing to do with it. In g++, this type is not available
> with -pedantic. I'd prefer if this strategy (provide extensions by
> default) also applies to the libraries included in GCC.
Agreed. The purpose of -ansi is to ensure that all conformant programs
compile properly; the purpose of -pedantic is to complain about
nonconformant programs. -ansi should only turn off extensions that could
change the meaning of a well-formed program.
Jason
More information about the Libstdc++
mailing list