summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2022-02-17 19:41:24 +0100
committerGitHub <noreply@github.com>2022-02-17 19:41:24 +0100
commitde5b89dbea938db5a7ea58f59a9b1a91d0df4208 (patch)
tree72397a4105349f34996af909855774912b052c30
parentBigFlower: handle environmental destruction (diff)
downloadcuberite-de5b89dbea938db5a7ea58f59a9b1a91d0df4208.tar
cuberite-de5b89dbea938db5a7ea58f59a9b1a91d0df4208.tar.gz
cuberite-de5b89dbea938db5a7ea58f59a9b1a91d0df4208.tar.bz2
cuberite-de5b89dbea938db5a7ea58f59a9b1a91d0df4208.tar.lz
cuberite-de5b89dbea938db5a7ea58f59a9b1a91d0df4208.tar.xz
cuberite-de5b89dbea938db5a7ea58f59a9b1a91d0df4208.tar.zst
cuberite-de5b89dbea938db5a7ea58f59a9b1a91d0df4208.zip
-rw-r--r--SetFlags.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/SetFlags.cmake b/SetFlags.cmake
index 2cae04b78..98878de4a 100644
--- a/SetFlags.cmake
+++ b/SetFlags.cmake
@@ -164,8 +164,8 @@ function(set_exe_flags TARGET)
-Wno-switch-enum
# Weverything with Clang exceptions:
- -Weverything -Wno-exit-time-destructors -Wno-error=disabled-macro-expansion
- -Wno-weak-vtables -Wno-string-conversion -Wno-c++98-compat-pedantic -Wno-documentation
+ -Weverything -Wno-exit-time-destructors -Wno-error=disabled-macro-expansion -Wno-weak-vtables
+ -Wno-string-conversion -Wno-c++98-compat-pedantic -Wno-c++2a-compat-pedantic -Wno-documentation
-Wno-documentation-unknown-command -Wno-reserved-id-macro -Wno-error=unused-command-line-argument
)