This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: PATCH: silence build warning from libstdc++


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


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