mirror of
https://github.com/MariaDB/server.git
synced 2025-12-28 08:10:14 +00: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
@ -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…
Reference in New Issue
Block a user