This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: long long, C++ testsuite and -ansi -pedantic-errors
"H . J . Lu" <hjl@lucon.org> writes:
| On Tue, Jun 13, 2000 at 09:38:57AM +0200, Gabriel Dos Reis wrote:
| > | > >
| > | > > -ansi defines __STRICT_ANSI__. Can we wrap the long long stuff
| > | > > with __STRICT_ANSI__?
| > | >
| > | > You can configure the library not to use long long; the default is to enable
| > | > long long where the target supports it.
| > | >
| > |
| > | Why do I want to do that? I want long long in libstdc++.
| >
| > v3 supports long long by default if the target has it.
| > The most convincing reason I've heard is that it is a system library.
| >
|
| That becomes ridiculous. Are you saying if gcc is used as a system
| compiler, the long long support in libstc++ v3 should be turned off?
No.
I'm saying that it is reasonable to make libtsdc++-v3 support long
long, as a system library.
The testsuites should be run with the appropriate flags.
-- Gaby