From f1a94c5552a2c2880a10cf0b121ae56d1b407f0c Mon Sep 17 00:00:00 2001 From: John Baldwin Date: Wed, 16 Apr 2025 09:41:42 -0400 Subject: [PATCH] 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 --- share/mk/bsd.sys.mk | 6 ------ 1 file changed, 6 deletions(-) diff --git a/share/mk/bsd.sys.mk b/share/mk/bsd.sys.mk index b8535809e5a..2134886abcf 100644 --- a/share/mk/bsd.sys.mk +++ b/share/mk/bsd.sys.mk @@ -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.