git: f1a94c5552a2 - main - bsd.sys.mk: Re-enable warnings for C++11 extensions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 16 Apr 2025 13:41:53 UTC
The branch main has been updated by jhb:
URL: https://cgit.FreeBSD.org/src/commit/?id=f1a94c5552a2c2880a10cf0b121ae56d1b407f0c
commit f1a94c5552a2c2880a10cf0b121ae56d1b407f0c
Author: John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2025-04-16 13:41:42 +0000
Commit: John Baldwin <jhb@FreeBSD.org>
CommitDate: 2025-04-16 13:41:42 +0000
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 b8535809e5aa..2134886abcf5 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.