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.
|