mirror of
https://github.com/MariaDB/server.git
synced 2026-05-14 19:07:15 +02:00
MDEV-37502: clang+debug mroonga remove -Wno-unused-but-set-variable
This is frequently violated within the mroonga implementatation and therefore should not error. Reviewer: Jimmy Hu <jimmy.hu@mariadb.com>
This commit is contained in:
parent
ca168a7a9a
commit
8ce0eee0e0
1 changed files with 1 additions and 1 deletions
|
|
@ -150,7 +150,7 @@ endif()
|
|||
|
||||
if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGCXX)
|
||||
MY_CHECK_AND_SET_COMPILER_FLAG("-Wall")
|
||||
MY_CHECK_AND_SET_COMPILER_FLAG("-Wno-unused-but-set-variable")
|
||||
MY_CHECK_AND_SET_COMPILER_FLAG("-Wno-error=unused-but-set-variable")
|
||||
MY_CHECK_AND_SET_COMPILER_FLAG("-Wno-pointer-sign")
|
||||
MY_CHECK_AND_SET_COMPILER_FLAG("-Wformat")
|
||||
MY_CHECK_AND_SET_COMPILER_FLAG("-Wstrict-aliasing=2")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue