------- Additional Comments From matthew at linuxfromscratch dot org  
2004-11-19 07:51 -------
Putting trivial test cases together, both with and without #pragma GCC
system_header in them, the compiler behaves correctly.  Compiling the test case
in comment 1 shows results in 24 lines of warnings, none of which the user can
do anything about, as they all relate to the _internal_ headers in
/usr/include/c++/${gcc-version}/bits.  So, system headers appear to be treated
correctly (e.g. <list> has the #pragma GCC system_header), but why are the
headers in bits/ not treated as system headers?  Neither adding the pragma to
those headers, nor adding "-isystem /usr/include/c++/${gcc-version}/bits" to the
command line appeared to have any effect.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14172

Reply via email to