Page MenuHomeFreeBSD

bsd.sys.mk: Silence a few GCC warnings for C++
AcceptedPublic

Authored by jhb on Sun, Jan 25, 4:54 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jan 25, 3:11 PM
Unknown Object (File)
Sun, Jan 25, 1:21 PM
Unknown Object (File)
Sun, Jan 25, 12:40 PM
Unknown Object (File)
Sun, Jan 25, 11:21 AM
Unknown Object (File)
Sun, Jan 25, 6:06 AM
Unknown Object (File)
Sun, Jan 25, 5:55 AM
Subscribers

Details

Reviewers
emaste
dim
imp
Summary

These warnings were already marked with -Wno-error=, but they trigger
so many false positives in libc++ headers to be utterly useless for
C++ code, so disable them entirely for C++.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 70122
Build 67005: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Sun, Jan 25, 5:20 AM

Indeed, the libc++ headers are extremely noisy with g++. Upstream does not care about compiling with -Wsystem-headers, so it's extremely unlikely these warnings will ever be fixed.