[Groonga-commit] groonga/groonga at 24dda70 [master] cmake: ignore missing-field-initializers warnings

Zurück zum Archiv-Index

Kouhei Sutou null+****@clear*****
Tue Oct 22 17:42:31 JST 2013


Kouhei Sutou	2013-10-22 17:42:31 +0900 (Tue, 22 Oct 2013)

  New Revision: 24dda70994f2918b3248b22fe963f10bc9eb160f
  https://github.com/groonga/groonga/commit/24dda70994f2918b3248b22fe963f10bc9eb160f

  Message:
    cmake: ignore missing-field-initializers warnings
    
    It is used for initializing grn_expr_var.

  Modified files:
    CMakeLists.txt

  Modified: CMakeLists.txt (+2 -0)
===================================================================
--- CMakeLists.txt    2013-10-22 17:40:41 +0900 (bfef7cd)
+++ CMakeLists.txt    2013-10-22 17:42:31 +0900 (f732452)
@@ -89,6 +89,8 @@ if(CMAKE_COMPILER_IS_GNUCXX)
     "${GRN_NO_WARNING_COMPILE_FLAGS} -Wno-unused-parameter")
   set(GRN_NO_WARNING_COMPILE_FLAGS
     "${GRN_NO_WARNING_COMPILE_FLAGS} -Wno-sign-compare")
+  set(GRN_NO_WARNING_COMPILE_FLAGS
+    "${GRN_NO_WARNING_COMPILE_FLAGS} -Wno-missing-field-initializers")
   set(GRN_C_COMPILE_FLAGS "${GRN_NO_WARNING_COMPILE_FLAGS} -Wno-pointer-sign")
   set(GRN_CXX_COMPILE_FLAGS "${GRN_NO_WARNING_COMPILE_FLAGS} -fexceptions")
 endif()
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index