This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

#pragma system_header and bootstrap


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

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