This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
Re: #pragma system_header and bootstrap
- To: branko dot cibej at hermes dot si, libstdc++ at sourceware dot cygnus dot com
- Subject: Re: #pragma system_header and bootstrap
- From: Phil Edwards <pedwards at jaj dot com>
- Date: Fri, 19 May 2000 11:58:24 -0400
> cc1plus: warnings being treated as errors
> In file included from ../bits/std_limits.h:46,
> from limitsMEMBERS.cc:37:
> ../../../../../gcc/libstdc++-v3/bits/std_cfloat.h:38: warning: ignoring pragma:
> cc1plus: warnings being treated as errors
>
>
> That's because configure finds the installed g++ and uses it instead
> of the bootstrapped compiler. IMHO that's a bug, but I don't have
Think of it as a pair of bugs: 1) configure is (?) finding the wrong
compiler (I haven't tested this myself), and 2) configure should be
testing whatever compiler it finds to see if system_header is implemented,
and disable -Werror if it isn't. Both should be fixed; either would
solve your problem.
I'm working on the second one now... how to test for the support of a
specific pragma? Garrrrr...
Phil