|
From: | Jacob Faibussowitsch |
Subject: | bug#51925: [Trunk][macOS] "vfork" is deprecated |
Date: | Thu, 18 Nov 2021 09:50:27 -0600 |
I have had these installed for ages, but as it turns out my Xcode path was still pointing to /Applications/Xcode.app/Contents/Developer -_-. Switching to CLT I now don’t get warnings about vfork() when building emacs anymore, but have now gotten the following warning: nproc.c:321:21: warning: passing 'const int [2]' to parameter of type 'int *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] if (sysctl (mib[i], ARRAY_SIZE (mib[i]), &nprocs, &len, NULL, 0) == 0 ^~~~~~ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/sysctl.h:770:21: note: passing argument to parameter here int sysctl(int *, u_int, void *, size_t *, void *, size_t); ^ 1 warning generated. Best regards, Jacob Faibussowitsch (Jacob Fai - booss - oh - vitch)
|
[Prev in Thread] | Current Thread | [Next in Thread] |