[Groonga-commit] groonga/groonga at c7c80b0 [master] Remove -Wredundant-decls

Back to archive index

Kouhei Sutou null+****@clear*****
Sun May 17 10:29:41 JST 2015


Kouhei Sutou	2015-05-17 10:29:41 +0900 (Sun, 17 May 2015)

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

  Message:
    Remove -Wredundant-decls
    
    Because it reports many messages about libraries out of Groonga...

  Modified files:
    CMakeLists.txt
    configure.ac

  Modified: CMakeLists.txt (+1 -1)
===================================================================
--- CMakeLists.txt    2015-05-16 16:08:11 +0900 (a108c1c)
+++ CMakeLists.txt    2015-05-17 10:29:41 +0900 (e591485)
@@ -185,7 +185,7 @@ if(CMAKE_COMPILER_IS_GNUCXX)
   check_cflag("-Wdeclaration-after-statement")
   check_cflag("-Wbad-function-cast")
   check_build_flag("-Wcast-align")
-  check_build_flag("-Wredundant-decls")
+  # check_build_flag("-Wredundant-decls")
   check_build_flag("-Wwrite-strings")
   check_cxxflag("-fexceptions")
   check_cxxflag("-fimplicit-templates")

  Modified: configure.ac (+1 -1)
===================================================================
--- configure.ac    2015-05-16 16:08:11 +0900 (af3c075)
+++ configure.ac    2015-05-17 10:29:41 +0900 (dad29c7)
@@ -169,7 +169,7 @@ if test "$GCC" = "yes"; then
   if test "$CLANG" = "no"; then
     CHECK_BUILD_FLAG([-Wcast-align])
   fi
-  CHECK_BUILD_FLAG([-Wredundant-decls])
+#  CHECK_BUILD_FLAG([-Wredundant-decls])
 #  CHECK_BUILD_FLAG([-Wunsafe-loop-optimizations])
 #  CHECK_BUILD_FLAG([-Wunreachable-code])
 #  CHECK_BUILD_FLAG([-Wswitch-enum])
-------------- next part --------------
HTML����������������������������...
Download 



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