bsd.sys.mk: Re-enable warnings for C++11 extensions

This should no longer be relevant since the default C++ standard is
C++17.

Reviewed by:	imp, asomers, emaste
Differential Revision:	https://reviews.freebsd.org/D49787
This commit is contained in:
John Baldwin
2025-04-16 09:41:42 -04:00
parent 5737c2ae06
commit f1a94c5552
-6
View File
@@ -293,12 +293,6 @@ CLANG_OPT_SMALL+= -mllvm -simplifycfg-dup-ret
.endif
CLANG_OPT_SMALL+= -mllvm -enable-load-pre=false
CFLAGS.clang+= -Qunused-arguments
# The libc++ headers use c++11 extensions. These are normally silenced because
# they are treated as system headers, but we explicitly disable that warning
# suppression when building the base system to catch bugs in our headers.
# Eventually we'll want to start building the base system C++ code as C++11,
# but not yet.
CXXFLAGS.clang+= -Wno-c++11-extensions
# XXX This should be defaulted to 2 when WITH_SSP is in use after further
# testing and soak time.