From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H . J . Lu" To: Gabriel Dos Reis Cc: Steven King , gcc@gcc.gnu.org Subject: Re: long long, C++ testsuite and -ansi -pedantic-errors Date: Tue, 13 Jun 2000 08:49:00 -0000 Message-id: <20000613084950.A13596@lucon.org> References: <200006130131.SAA28812@kankakee.wrs.com> <20000612200129Q.mitchell@codesourcery.com> <20000612203901.A10864@valinux.com> <00061221255202.08061@rigel.eutopia.com> <20000612214401.A11961@lucon.org> X-SW-Source: 2000-06/msg00395.html 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.