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

'getmntinfo64' has been explicitly marked deprecated here

    XMLWordPrintable

Details

    Description

      I am getting the following error while compiling MariaDB source code:

      server/plugin/disks/information_schema_disks.cc:154:12: error: 'getmntinfo64' is deprecated: first deprecated in macOS 10.6 [-Werror,-Wdeprecated-declarations]
          count= getmntinfo64(&s, MNT_WAIT);
                 ^
      /Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/sys/mount.h:422:9: note: 'getmntinfo64' has been explicitly marked deprecated here
      int     getmntinfo64(struct statfs64 **, int) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_NA, __IPHONE_NA);
              ^
      1 error generated.
      ninja: build stopped: subcommand failed.
      

      Attachments

        Activity

          People

            danblack Daniel Black
            heyingquan Yingquan He
            Votes:
            0 Vote for this issue
            Watchers:
            4 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.