[Groonga-commit] groonga/groonga at 1ef001c [master] Suppress declaration-after-statement warning

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Dec 28 11:01:42 JST 2016


Kouhei Sutou	2016-12-28 11:01:42 +0900 (Wed, 28 Dec 2016)

  New Revision: 1ef001c84e8359e11b836e07f2a6f5b51efc1553
  https://github.com/groonga/groonga/commit/1ef001c84e8359e11b836e07f2a6f5b51efc1553

  Message:
    Suppress declaration-after-statement warning
    
    Because we assume C compiler is C99 ready.

  Modified files:
    configure.ac

  Modified: configure.ac (+1 -0)
===================================================================
--- configure.ac    2016-12-28 11:01:24 +0900 (7a47c15)
+++ configure.ac    2016-12-28 11:01:42 +0900 (5be335e)
@@ -159,6 +159,7 @@ if test "$GCC" = "yes"; then
   CHECK_BUILD_FLAG([-Wno-sign-compare])
   CHECK_CFLAG([-Wno-pointer-sign])
   CHECK_BUILD_FLAG([-Wno-missing-field-initializers])
+  CHECK_CFLAG([-Wno-declaration-after-statement])
 
   CHECK_BUILD_FLAG([-Wformat])
   CHECK_BUILD_FLAG([-Wstrict-aliasing=2])
-------------- next part --------------
HTML����������������������������...
Télécharger 



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