Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-25543

Building failure on MacOS in case MariadDB server is compiled with XCode 12.5

    XMLWordPrintable

Details

    Description

      Attempt to build MariaDB server on MacOS could result in compilation errors like the following one:

      In file included from server-10.6/storage/perfschema/cursor_by_account.cc:28:
      In file included from server-10.6/include/my_global.h:287:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/math.h:309:
      In file included from /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.3.sdk/usr/include/c++/v1/type_traits:418:
      server-10.5/version:1:1: error: expected unqualified-id
      MYSQL_VERSION_MAJOR=10
      ^
      server-10.5/build.dir/include/my_config.h:529:29: note: expanded from macro 'MYSQL_VERSION_MAJOR'
      #define MYSQL_VERSION_MAJOR 10
      

      Compilation errors observed when XCode 12.5 is used for building server.

      Attachments

        Issue Links

          Activity

            People

              shulga Dmitry Shulga
              shulga Dmitry Shulga
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.