[Groonga-mysql-commit] mroonga/mroonga [fix-for-visual-studio] add -Wextra and -Wno-unused-parameter option.

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Oct 4 10:32:42 JST 2012


Kouhei Sutou	2011-11-27 21:16:50 +0900 (Sun, 27 Nov 2011)

  New Revision: 5ea3c2388f02e24663e83fe5b8cf2e964d4e51ed
  https://github.com/mroonga/mroonga/commit/5ea3c2388f02e24663e83fe5b8cf2e964d4e51ed

  Merged ab791c1: Merge branch 'master' of github.com:mroonga/mroonga

  Log:
    add -Wextra and -Wno-unused-parameter option.

  Modified files:
    configure.ac

  Modified: configure.ac (+5 -0)
===================================================================
--- configure.ac    2011-11-27 21:06:09 +0900 (e60786f)
+++ configure.ac    2011-11-27 21:16:50 +0900 (b991e98)
@@ -56,7 +56,12 @@ AC_DEFUN([CHECK_CXXFLAG], [
 
 if test "$GCC" = "yes"; then
   CHECK_CFLAG([-Wall])
+  CHECK_CFLAG([-Wextra])
+  CHECK_CFLAG([-Wno-unused-parameter])
+
   CHECK_CXXFLAG([-Wall])
+  CHECK_CXXFLAG([-Wextra])
+  CHECK_CXXFLAG([-Wno-unused-parameter])
 fi
 
 standalone_build=
-------------- next part --------------
HTML����������������������������...
Download 



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