mirror of
https://git.freebsd.org/src.git
synced 2026-01-16 23:02:24 +00:00
bsd.sys.mk: suppress another gcc warning for libc++
Some checks are pending
Cross-build Kernel / amd64 ubuntu-20.04 (clang-12) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-20.04 (clang-12) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-13) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-13) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-14) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-14) (push) Waiting to run
Some checks are pending
Cross-build Kernel / amd64 ubuntu-20.04 (clang-12) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-20.04 (clang-12) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-13) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-13) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-14) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-14) (push) Waiting to run
Similar to base63d1c3c436, 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 (cherry picked from commit62a7fdc13a)
This commit is contained in:
parent
57f1d519e0
commit
496fce83a5
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue