bsd.sys.mk: suppress another gcc warning for libc++
Similar to base 63d1c3c436, suppress -Wc++20-extensions for gcc.
Otherwise libc++ headers will lead to many -Werror warnings, due to our
use of -Wsystem-headers, which is not officially supported upstream.
MFC after: 3 days
This commit is contained in:
+2
-1
@@ -244,7 +244,8 @@ CWARNFLAGS+= -Wno-error=overflow
|
||||
.if ${COMPILER_VERSION} >= 120100
|
||||
# These warnings are raised by headers in libc++ so are disabled
|
||||
# globally for all C++
|
||||
CXXWARNFLAGS+= -Wno-literal-suffix \
|
||||
CXXWARNFLAGS+= -Wno-literal-suffix \
|
||||
-Wno-c++20-extensions \
|
||||
-Wno-error=unknown-pragmas
|
||||
.endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user