This is the mail archive of the
libstdc++@sourceware.cygnus.com
mailing list for the libstdc++ project.
#pragma system_header and bootstrap
- To: libstdc++ at sourceware dot cygnus dot com
- Subject: #pragma system_header and bootstrap
- From: Branko Čibej <branko dot cibej at hermes dot si>
- Date: Fri, 19 May 2000 11:23:44 +0200
- Organization: HERMES SoftLab
Hi,
I see that #pragma system_header is implemented in CVS GCC, and is
used in the headers now. However, bootstrap with --enable-libstdcxx-v3
fails when building the library:
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
time to track it down right now. So if somebody knowledgable about the
configury could do something about that ... thanks.
Brane
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49 fax: (+386 1) 586 52 70