Re: gcc-3.3 issues

From: LLeweLLyn Reese <llewelly_at_lifesupport.shutdown.com>
Date: 18 Jul 2003 18:38:31 -0700
Alexander Kabaev <kan_at_FreeBSD.org> writes:

> > [snip]
> >
> > Curiosity: Why does this suppression get disabled in the imported compiler?
> 
> I guess justification was to see warnings about FreeBSD's own header
> files. We dont want to hide warnings in them, we want to fix issues
> warnings report.

Ok. This makes sense. However, if these warnings are disguising more
    important warnings in some ports, may I suggest people looking to
    fix warnings in those ports try compiling with -Wno-system-headers,
    which I believe will disable the warnings from gcc's headers. Of
    course anyone looking to fix warnings in headers should leave
    -Wsystem-headers on.

> C++ headers just a side effect of that decision.

I guess this is evidence that #pragma GCC system_header isn't
    quite enough. :-)
Received on Fri Jul 18 2003 - 16:42:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:15 UTC