Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.8(EOL)
Description
when building MariaDB 10.8 on OS X 11.6.2:
/Users/alice/git/10.8/storage/connect/tabrest.cpp:116:8: error: 'vfork' is deprecated: Use posix_spawn or fork [-Werror,-Wdeprecated-declarations]
|
pID = vfork();
|
^
|
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/unistd.h:604:1: note: 'vfork' has been explicitly marked deprecated here
|
__deprecated_msg("Use posix_spawn or fork")
|
^
|
/Library/Developer/CommandLineTools/SDKs/MacOSX12.1.sdk/usr/include/sys/cdefs.h:208:48: note: expanded from macro '__deprecated_msg'
|
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
|
^
|
1 error generated.
|
make[2]: *** [storage/connect/CMakeFiles/connect.dir/tabrest.cpp.o] Error 1
|
make[1]: *** [storage/connect/CMakeFiles/connect.dir/all] Error 2
|
make[1]: *** Waiting for unfinished jobs....
|