[PATCH] Fix -Wsystem-header warnings in libstdc++

Jonathan Wakely jwakely@redhat.com
Mon Dec 4 23:08:00 GMT 2017


On 01/12/17 16:10 +0000, Jonathan Wakely wrote:
>On 01/12/17 15:11 +0000, Jonathan Wakely wrote:
>>This fixes a number of warnings that show up with -Wsystem-headers
>
>This fixes some more.

And some more, this time for -Wunused, -Wcomment, and
-Wvariadic-macros.

Tested powerpc64le-linux, committed to trunk.

The purpose of these is not only to reduce noise if users use
-Wsystem-headers, but to get us to a place where PR 50871 can be fixed
(i.e. build and test libstdc++ without having useful warnings
suppressed by the #pragma GCC system_header lines).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 9346 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20171204/e969735b/attachment.bin>


More information about the Gcc-patches mailing list