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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user