diff options
author | Sergei Golubchik <serg@mariadb.org> | 2022-05-06 01:13:05 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-05-15 20:37:51 +0200 |
commit | 29c07643a162d614dcb3ec6d69992bdd1df37cd6 (patch) | |
tree | 2760e6d394f929bb9388ba4c71c2224a30cc53dc /cmake | |
parent | 16cebed54065ad9e18953aa86d48f6007d53c2d3 (diff) | |
download | mariadb-git-29c07643a162d614dcb3ec6d69992bdd1df37cd6.tar.gz |
enable -Wenum-compare -Wenum-conversion
to make the all headers -std=c++20 clean for those, who need c++20
(some plugins)
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/maintainer.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmake/maintainer.cmake b/cmake/maintainer.cmake index 8dbe7a6df47..5a1d186cf58 100644 --- a/cmake/maintainer.cmake +++ b/cmake/maintainer.cmake @@ -22,6 +22,8 @@ ENDIF() SET(MY_WARNING_FLAGS -Wall -Wdeclaration-after-statement + -Wenum-compare + -Wenum-conversion -Wextra -Wformat-security -Wno-format-truncation |