[Groonga-commit] groonga/groonga at eb134f2 [master] cmake: suppress unused-parameter warnings

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 5 10:02:10 JST 2018


Kouhei Sutou	2018-02-05 10:02:10 +0900 (Mon, 05 Feb 2018)

  New Revision: eb134f225f6b9848f0b9d71ae1e3ea3ad065f2d5
  https://github.com/groonga/groonga/commit/eb134f225f6b9848f0b9d71ae1e3ea3ad065f2d5

  Message:
    cmake: suppress unused-parameter warnings

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+1 -0)
===================================================================
--- CMakeLists.txt    2018-02-05 10:00:53 +0900 (fb4a19fb7)
+++ CMakeLists.txt    2018-02-05 10:02:10 +0900 (fb581c7a9)
@@ -176,6 +176,7 @@ endmacro()
 if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_COMPILER_IS_CLANGCXX)
   check_build_flag("-Wall")
   check_build_flag("-Wno-unused-but-set-variable")
+  check_build_flag("-Wno-unused-parameter")
   check_cflag("-Wno-pointer-sign")
   check_build_flag("-Wformat")
   check_build_flag("-Wno-format-truncation")
-------------- next part --------------
HTML����������������������������...
URL: https://lists.osdn.me/mailman/archives/groonga-commit/attachments/20180205/23f5de9d/attachment.htm 



More information about the Groonga-commit mailing list
Back to archive index