[Groonga-mysql-commit] mroonga/mroonga at e768c76 [master] mysql8.0: C++ 14 is required

アーカイブの一覧に戻る
Kouhei Sutou null+****@clear*****
Mon May 20 10:48:02 JST 2019


Kouhei Sutou	2019-05-20 10:48:02 +0900 (Mon, 20 May 2019)

  Revision: e768c765ff10e381160d00fd65f3e6e1931a1202
  https://github.com/mroonga/mroonga/commit/e768c765ff10e381160d00fd65f3e6e1931a1202

  Message:
    mysql8.0: C++ 14 is required

  Modified files:
    configure.ac

  Modified: configure.ac (+8 -6)
===================================================================
--- configure.ac    2019-05-20 09:37:09 +0900 (6c3f8518)
+++ configure.ac    2019-05-20 10:48:02 +0900 (de512702)
@@ -210,14 +210,16 @@ AC_DEFUN([CONFIG_OPTION_MYSQL],[
   MYSQL_CXXFLAGS="-felide-constructors"
   case "$MYSQL_MAJOR_MINOR_VERSION" in
   5.5|5.6|10.*)
-      MYSQL_CXXFLAGS="$MYSQL_CXXFLAGS -fno-rtti"
-      ;;
+    MYSQL_CXXFLAGS="$MYSQL_CXXFLAGS -fno-rtti"
+    ;;
   8.*)
-      AX_CXX_COMPILE_STDCXX_11([ext], [mandatory])
-      ;;
+    m4_ifdef([AX_CXX_COMPILE_STDCXX_14],
+             [AX_CXX_COMPILE_STDCXX_14([ext], [mandatory])],
+             [CHECK_CXXFLAG([-std=gnu++14])])
+    ;;
   *)
-      :
-      ;;
+    :
+    ;;
   esac
 
   if test "${with_libmysqlservices_compat}" = "no"; then
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.osdn.me/mailman/archives/groonga-mysql-commit/attachments/20190520/1c577c42/attachment-0001.html>


More information about the Groonga-mysql-commit mailing list
アーカイブの一覧に戻る