--enable-long-long by default?
Thu May 25 09:35:00 GMT 2000
>>>>> Martin v Loewis <email@example.com> 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.
More information about the Libstdc++