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

Build failure on MacOS on compiling the file btr/btr0btr.cc

    XMLWordPrintable

Details

    Description

      Attempt to build MariaDB server on mac OS leads to compilation error:

      [ 57%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/btr/btr0btr.cc.o
      In file included from /Users/shulga/projects/mariadb/server-10.5/storage/innobase/btr/btr0btr.cc:41:
      In file included from /Users/shulga/projects/mariadb/server-10.5/storage/innobase/include/trx0trx.h:34:
      In file included from /Users/shulga/projects/mariadb/server-10.5/storage/innobase/include/trx0xa.h:27:
      In file included from /Users/shulga/projects/mariadb/server-10.5/sql/handler.h:34:
      /Users/shulga/projects/mariadb/server-10.5/sql/structs.h:877:14: error: implicit conversion loses integer
            precision: 'ulong' (aka 'unsigned long') to '__darwin_suseconds_t' (aka 'int')
            [-Werror,-Wshorten-64-to-32]
          tv_usec= usec;
                 ~ ^~~~
      1 error generated.
      

      Attachments

        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.