This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: long long, C++ testsuite and -ansi -pedantic-errors


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?
Why not turn off the long long support in g++ altogether? glibc
is the system library for Linux. We have many extensions beyond
ISO C. I want the long long support in libstc++ v3 on Linux and 
I also want to run the testsuite with the default setting on Linux.


H.J.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]