This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: PATCH: silence build warning from libstdc++
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: Ben Elliston <bje at au1 dot ibm dot com>
- Cc: Benjamin Kosnik <bkoz at redhat dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, "libstdc++" <libstdc++ at gcc dot gnu dot org>
- Date: Sun, 3 May 2009 12:37:02 +0100
- Subject: Re: PATCH: silence build warning from libstdc++
- References: <1240897752.32520.2.camel@helios> <20090430151716.60bdfe2c@milvia.artheist.org> <1241348205.20502.1.camel@helios> <4348dea50905030402w641581beu32b80e578a6d7227@mail.gmail.com>
2009/5/3 Jonathan Wakely:
> 2009/5/3 Ben Elliston:
>> On Thu, 2009-04-30 at 15:17 -0700, Benjamin Kosnik wrote:
>>
>>> But, it looks valid to me just the same. Can you tell me how to
>>> reproduce? I would be surprised if this is the first you've seen of
>>> this, as the previous stdtr1c++.h include also had two choices for
>>> stdc++.h precompiled files.
>>
>> I see it regularly on powerpc-linux and powerpc64-linux.
>
> I've seen it too but don't recall where ... possibly solaris builds.
And just now on x86_64 linux:
mkdir -p ./x86_64-unknown-linux-gnu/bits/stdtr1c++.h.gch
/home/jwakely/build/./gcc/xgcc -shared-libgcc
-B/home/jwakely/build/./gcc -nostdinc++
-L/home/jwakely/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src
-L/home/jwakely/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/src/.libs
-B/home/jwakely/gcc/x86_64-unknown-linux-gnu/bin/
-B/home/jwakely/gcc/x86_64-unknown-linux-gnu/lib/ -isystem
/home/jwakely/gcc/x86_64-unknown-linux-gnu/include -isystem
/home/jwakely/gcc/x86_64-unknown-linux-gnu/sys-include -m32
-Winvalid-pch -x c++-header -g -O2 -D_GNU_SOURCE -m32
-I/home/jwakely/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/include/x86_64-unknown-linux-gnu
-I/home/jwakely/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/include
-I/home/jwakely/src/gcc/libstdc++-v3/libsupc++ -O2 -g
/home/jwakely/src/gcc/libstdc++-v3/include/precompiled/stdtr1c++.h -o
x86_64-unknown-linux-gnu/bits/stdtr1c++.h.gch/O2g.gch
/home/jwakely/src/gcc/libstdc++-v3/include/precompiled/stdtr1c++.h:29:
warning: /home/jwakely/build/x86_64-unknown-linux-gnu/32/libstdc++-v3/include/x86_64-unknown-linux-gnu/bits/stdc++.h.gch/O2ggnu++0x.gch:
not used because `__GXX_EXPERIMENTAL_CXX0X__' not defined
With this config:
../src/gcc/configure --prefix=/home/jwakely/gcc
--with-mpfr=/opt/cfarm/mpfr-2.4.1 --with-gmp=/opt/cfarm/gmp-4.2.4
--with-system-zlib --enable-__cxa_atexit --enable-languages=c,c++
--enable-libstdcxx-time=yes --disable-bootstrap
--enable-checking=release
Jonathan