#pragma system_header and bootstrap
Phil Edwards
pedwards@jaj.com
Fri May 19 08:36:00 GMT 2000
> 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
More information about the Libstdc++
mailing list