Closed aqeelahmed168 closed 2 years ago
The first message is normal (it means that compilation with gcc is not tested).
Could you post the whole compilation log file? Right now it looks like a problem with CLT installation. I have checked OpenFOAM-v1912 and it compiles fine (with lots of deprecated copy warnings, which is normal).
Here is the full log
gcc=/usr/local/bin/gcc
clang=/usr/bin/clang
mpirun=/usr/local/bin/mpirun
make=/usr/bin/make
cmake=/usr/local/bin/cmake
wmake=/Volumes/OpenFOAM/OpenFOAM-v2006/wmake/wmake
m4=/usr/bin/m4
flex=/usr/bin/flex
compiler=/usr/bin/clang++
Apple clang version 12.0.5 (clang-1205.0.22.11)
========================================
2021-09-04 14:52:13 +0200
Starting compile OpenFOAM-v2006 Allwmake
Clang system compiler
darwin64ClangDPInt32Opt, with SYSTEMOPENMPI openmpi-system
========================================
clang++ -std=c++11 -m64 -pthread -ftrapping-math -DOPENFOAM=2006 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-undefined-var-template -Wno-unknown-warning-option -O3 -DNoRepository -ftemplate-depth-100 -fPIC wmkdepend.cc -o /Volumes/OpenFOAM/OpenFOAM-v2006/platforms/tools/darwin64Clang/wmkdepend
In file included from wmkdepend.rl:72:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_map:411:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__hash_table:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:321:9: error: no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:322:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:323:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/usr/local/include/math.h:752:12: note: 'finite' declared here
extern int finite(double)
^
In file included from wmkdepend.rl:72:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_map:411:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__hash_table:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:324:9: error: no member named 'isinf' in the global namespace
using ::isinf;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:325:9: error: no member named 'isnan' in the global namespace
using ::isnan;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:326:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:327:7: error: no member named 'isgreater' in the global namespace; did you mean '::std::greater'?
using ::isgreater;
^~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:738:29: note: '::std::greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from wmkdepend.rl:72:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_map:411:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__hash_table:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:328:7: error: no member named 'isgreaterequal' in the global namespace; did you mean '::std::greater_equal'?
using ::isgreaterequal;
^~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:767:29: note: '::std::greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from wmkdepend.rl:72:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_map:411:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__hash_table:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:329:9: error: no member named 'isless' in the global namespace
using ::isless;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:330:9: error: no member named 'islessequal' in the global namespace
using ::islessequal;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:331:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:332:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:333:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.
make: *** [/Volumes/OpenFOAM/OpenFOAM-v2006/platforms/tools/darwin64Clang/wmkdepend] Error 1
This
clang++ -std=c++11 -m64 -pthread -ftrapping-math -DOPENFOAM=2006 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-undefined-var-template -Wno-unknown-warning-option -O3 -DNoRepository -ftemplate-depth-100 -fPIC wmkdepend.cc -o /Volumes/OpenFOAM/OpenFOAM-v2006/platforms/tools/darwin64Clang/wmkdepend
looks strange. Here is my command for the same file:
xcrun c++ -std=c++14 -m64 -pthread -ftrapping-math -DOPENFOAM=2006 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-undefined-var-template -Wno-unknown-warning-option -O3 -DNoRepository -ftemplate-depth-100 -fPIC wmkdepend.cc -o /Volumes/OpenFOAM/OpenFOAM-v2006/platforms/tools/darwin64Clang/wmkdepend
So either you did not apply patch, or you did something with sources after application of the patch, or you mess-up environment variables.
I downloaded a new copy of OpenFOAM
curl -L https://dl.openfoam.com/source/v2006/OpenFOAM-v2006.tgz > OpenFOAM-v2006.tgz
and then the patch in the OpenFOAM-v2006 dir
curl -L https://raw.githubusercontent.com/mrklein/openfoam-os-x/master/OpenFOAM-v2006.patch > OpenFOAM-v2006.patch
after that I applied the patch git apply OpenFOAM-v2006.patch
The setting for environment variables are
echo 'WM_COMPILER=Clang' > $HOME/.OpenFOAM/prefs.sh
echo 'WM_COMPILE_OPTION=Opt' >> $HOME/.OpenFOAM/prefs.sh
echo 'WM_MPLIB=SYSTEMOPENMPI' >> $HOME/.OpenFOAM/prefs.sh
echo 'export WM_NCOMPPROCS=$(sysctl -n hw.ncpu)' >> $HOME/.OpenFOAM/prefs.sh
After the source, I am still getting this error during compilation
gcc=/usr/local/bin/gcc
clang=/usr/bin/clang
mpirun=/usr/local/bin/mpirun
make=/usr/bin/make
cmake=/usr/local/bin/cmake
wmake=/Volumes/OpenFOAM/OpenFOAM-v2006/wmake/wmake
m4=/usr/bin/m4
flex=/usr/bin/flex
compiler=/usr/bin/xcrun
xcrun version 59.
========================================
2021-09-04 15:45:14 +0200
Starting compile OpenFOAM-v2006 Allwmake
Clang system compiler
darwin64ClangDPInt32Opt, with SYSTEMOPENMPI openmpi-system
========================================
clang -m64 -ftrapping-math -DOPENFOAM=2006 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3 -fPIC lemon.c -o /Volumes/OpenFOAM/OpenFOAM-v2006/platforms/tools/darwin64Clang/lemon
In file included from lemon.c:14:
In file included from /usr/local/include/stdio.h:64:
/usr/local/include/_stdio.h:93:16: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
unsigned char *_base;
^
/usr/local/include/_stdio.h:93:16: note: insert '_Nullable' if the pointer may be null
unsigned char *_base;
^
_Nullable
/usr/local/include/_stdio.h:93:16: note: insert '_Nonnull' if the pointer should never be null
unsigned char *_base;
^
_Nonnull
/usr/local/include/_stdio.h:138:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nullable _read) (void *, char *, int);
^
/usr/local/include/_stdio.h:138:32: note: insert '_Nullable' if the pointer may be null
int (* _Nullable _read) (void *, char *, int);
^
_Nullable
Maybe I am missing something, but I do not see any errors in the log you have posted. There are two warnings. And they appeared due to a conflict between system-wide clang and gcc in /usr/local (clang tries to use gcc headers).
gcc=/usr/local/bin/gcc
clang=/usr/bin/clang
mpirun=/usr/local/bin/mpirun
make=/usr/bin/make
cmake=/usr/local/bin/cmake
wmake=/Volumes/OpenFOAM/OpenFOAM-v2006/wmake/wmake
m4=/usr/bin/m4
flex=/usr/bin/flex
compiler=/usr/bin/xcrun
xcrun version 59.
========================================
2021-09-04 15:45:14 +0200
Starting compile OpenFOAM-v2006 Allwmake
Clang system compiler
darwin64ClangDPInt32Opt, with SYSTEMOPENMPI openmpi-system
========================================
clang -m64 -ftrapping-math -DOPENFOAM=2006 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -O3 -fPIC lemon.c -o /Volumes/OpenFOAM/OpenFOAM-v2006/platforms/tools/darwin64Clang/lemon
In file included from lemon.c:14:
In file included from /usr/local/include/stdio.h:64:
/usr/local/include/_stdio.h:93:16: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
unsigned char *_base;
^
/usr/local/include/_stdio.h:93:16: note: insert '_Nullable' if the pointer may be null
unsigned char *_base;
^
_Nullable
/usr/local/include/_stdio.h:93:16: note: insert '_Nonnull' if the pointer should never be null
unsigned char *_base;
^
_Nonnull
/usr/local/include/_stdio.h:138:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nullable _read) (void *, char *, int);
^
/usr/local/include/_stdio.h:138:32: note: insert '_Nullable' if the pointer may be null
int (* _Nullable _read) (void *, char *, int);
^
_Nullable
/usr/local/include/_stdio.h:138:32: note: insert '_Nonnull' if the pointer should never be null
int (* _Nullable _read) (void *, char *, int);
^
_Nonnull
/usr/local/include/_stdio.h:138:40: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nullable _read) (void *, char *, int);
^
/usr/local/include/_stdio.h:138:40: note: insert '_Nullable' if the pointer may be null
int (* _Nullable _read) (void *, char *, int);
^
_Nullable
/usr/local/include/_stdio.h:138:40: note: insert '_Nonnull' if the pointer should never be null
int (* _Nullable _read) (void *, char *, int);
^
_Nonnull
/usr/local/include/_stdio.h:139:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
fpos_t (* _Nullable _seek) (void *, fpos_t, int);
^
/usr/local/include/_stdio.h:139:35: note: insert '_Nullable' if the pointer may be null
fpos_t (* _Nullable _seek) (void *, fpos_t, int);
^
_Nullable
/usr/local/include/_stdio.h:139:35: note: insert '_Nonnull' if the pointer should never be null
fpos_t (* _Nullable _seek) (void *, fpos_t, int);
^
_Nonnull
/usr/local/include/_stdio.h:140:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nullable _write)(void *, const char *, int);
^
/usr/local/include/_stdio.h:140:32: note: insert '_Nullable' if the pointer may be null
int (* _Nullable _write)(void *, const char *, int);
^
_Nullable
/usr/local/include/_stdio.h:140:32: note: insert '_Nonnull' if the pointer should never be null
int (* _Nullable _write)(void *, const char *, int);
^
_Nonnull
/usr/local/include/_stdio.h:140:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nullable _write)(void *, const char *, int);
^
/usr/local/include/_stdio.h:140:46: note: insert '_Nullable' if the pointer may be null
int (* _Nullable _write)(void *, const char *, int);
^
_Nullable
/usr/local/include/_stdio.h:140:46: note: insert '_Nonnull' if the pointer should never be null
int (* _Nullable _write)(void *, const char *, int);
^
_Nonnull
/usr/local/include/_stdio.h:144:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
struct __sFILEX *_extra; /* additions to FILE to not break ABI */
^
/usr/local/include/_stdio.h:144:18: note: insert '_Nullable' if the pointer may be null
struct __sFILEX *_extra; /* additions to FILE to not break ABI */
^
_Nullable
/usr/local/include/_stdio.h:144:18: note: insert '_Nonnull' if the pointer should never be null
struct __sFILEX *_extra; /* additions to FILE to not break ABI */
^
_Nonnull
In file included from lemon.c:14:
/usr/local/include/stdio.h:67:13: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
extern FILE *__stdinp;
^
/usr/local/include/stdio.h:67:13: note: insert '_Nullable' if the pointer may be null
extern FILE *__stdinp;
^
_Nullable
/usr/local/include/stdio.h:67:13: note: insert '_Nonnull' if the pointer should never be null
extern FILE *__stdinp;
^
_Nonnull
/usr/local/include/stdio.h:386:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nullable)(void *, const char *, int),
^
/usr/local/include/stdio.h:386:41: note: insert '_Nullable' if the pointer may be null
int (* _Nullable)(void *, const char *, int),
^
_Nullable
/usr/local/include/stdio.h:386:41: note: insert '_Nonnull' if the pointer should never be null
int (* _Nullable)(void *, const char *, int),
^
_Nonnull
/usr/local/include/stdio.h:386:55: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nullable)(void *, const char *, int),
^
/usr/local/include/stdio.h:386:55: note: insert '_Nullable' if the pointer may be null
int (* _Nullable)(void *, const char *, int),
^
_Nullable
/usr/local/include/stdio.h:386:55: note: insert '_Nonnull' if the pointer should never be null
int (* _Nullable)(void *, const char *, int),
^
_Nonnull
/usr/local/include/stdio.h:387:44: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
fpos_t (* _Nullable)(void *, fpos_t, int),
^
/usr/local/include/stdio.h:387:44: note: insert '_Nullable' if the pointer may be null
fpos_t (* _Nullable)(void *, fpos_t, int),
^
_Nullable
/usr/local/include/stdio.h:387:44: note: insert '_Nonnull' if the pointer should never be null
fpos_t (* _Nullable)(void *, fpos_t, int),
^
_Nonnull
/usr/local/include/stdio.h:388:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nullable)(void *));
^
/usr/local/include/stdio.h:388:41: note: insert '_Nullable' if the pointer may be null
int (* _Nullable)(void *));
^
_Nullable
/usr/local/include/stdio.h:388:41: note: insert '_Nonnull' if the pointer should never be null
int (* _Nullable)(void *));
^
_Nonnull
/usr/local/include/stdio.h:384:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
FILE *funopen(const void *,
^
/usr/local/include/stdio.h:384:6: note: insert '_Nullable' if the pointer may be null
FILE *funopen(const void *,
^
_Nullable
/usr/local/include/stdio.h:384:6: note: insert '_Nonnull' if the pointer should never be null
FILE *funopen(const void *,
^
_Nonnull
In file included from lemon.c:18:
/usr/local/include/stdlib.h:134:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
double atof(const char *);
^
/usr/local/include/stdlib.h:134:25: note: insert '_Nullable' if the pointer may be null
double atof(const char *);
^
_Nullable
/usr/local/include/stdlib.h:134:25: note: insert '_Nonnull' if the pointer should never be null
double atof(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:135:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int atoi(const char *);
^
/usr/local/include/stdlib.h:135:22: note: insert '_Nullable' if the pointer may be null
int atoi(const char *);
^
_Nullable
/usr/local/include/stdlib.h:135:22: note: insert '_Nonnull' if the pointer should never be null
int atoi(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:136:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
long atol(const char *);
^
/usr/local/include/stdlib.h:136:23: note: insert '_Nullable' if the pointer may be null
long atol(const char *);
^
_Nullable
/usr/local/include/stdlib.h:136:23: note: insert '_Nonnull' if the pointer should never be null
long atol(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:139:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
atoll(const char *);
^
/usr/local/include/stdlib.h:139:20: note: insert '_Nullable' if the pointer may be null
atoll(const char *);
^
_Nullable
/usr/local/include/stdlib.h:139:20: note: insert '_Nonnull' if the pointer should never be null
atoll(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:141:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:141:26: note: insert '_Nullable' if the pointer may be null
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:141:26: note: insert '_Nonnull' if the pointer should never be null
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:141:45: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:141:45: note: insert '_Nullable' if the pointer may be null
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:141:45: note: insert '_Nonnull' if the pointer should never be null
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:142:59: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t __width, int (* _Nonnull __compar)(const void *, const void *));
^
/usr/local/include/stdlib.h:142:59: note: insert '_Nullable' if the pointer may be null
size_t __width, int (* _Nonnull __compar)(const void *, const void *));
^
_Nullable
/usr/local/include/stdlib.h:142:59: note: insert '_Nonnull' if the pointer should never be null
size_t __width, int (* _Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:142:73: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t __width, int (* _Nonnull __compar)(const void *, const void *));
^
/usr/local/include/stdlib.h:142:73: note: insert '_Nullable' if the pointer may be null
size_t __width, int (* _Nonnull __compar)(const void *, const void *));
^
_Nullable
/usr/local/include/stdlib.h:142:73: note: insert '_Nonnull' if the pointer should never be null
size_t __width, int (* _Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:141:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:141:6: note: insert '_Nullable' if the pointer may be null
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:141:6: note: insert '_Nonnull' if the pointer should never be null
void *bsearch(const void *__key, const void *__base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:147:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *getenv(const char *);
^
/usr/local/include/stdlib.h:147:25: note: insert '_Nullable' if the pointer may be null
char *getenv(const char *);
^
_Nullable
/usr/local/include/stdlib.h:147:25: note: insert '_Nonnull' if the pointer should never be null
char *getenv(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:147:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *getenv(const char *);
^
/usr/local/include/stdlib.h:147:6: note: insert '_Nullable' if the pointer may be null
char *getenv(const char *);
^
_Nullable
/usr/local/include/stdlib.h:147:6: note: insert '_Nonnull' if the pointer should never be null
char *getenv(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:156:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int mblen(const char *__s, size_t __n);
^
/usr/local/include/stdlib.h:156:23: note: insert '_Nullable' if the pointer may be null
int mblen(const char *__s, size_t __n);
^
_Nullable
/usr/local/include/stdlib.h:156:23: note: insert '_Nonnull' if the pointer should never be null
int mblen(const char *__s, size_t __n);
^
_Nonnull
/usr/local/include/stdlib.h:157:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
/usr/local/include/stdlib.h:157:26: note: insert '_Nullable' if the pointer may be null
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:157:26: note: insert '_Nonnull' if the pointer should never be null
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:157:52: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
/usr/local/include/stdlib.h:157:52: note: insert '_Nullable' if the pointer may be null
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:157:52: note: insert '_Nonnull' if the pointer should never be null
size_t mbstowcs(wchar_t * __restrict , const char * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:158:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
/usr/local/include/stdlib.h:158:21: note: insert '_Nullable' if the pointer may be null
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:158:21: note: insert '_Nonnull' if the pointer should never be null
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:158:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
/usr/local/include/stdlib.h:158:46: note: insert '_Nullable' if the pointer may be null
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:158:46: note: insert '_Nonnull' if the pointer should never be null
int mbtowc(wchar_t * __restrict, const char * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:160:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void qsort(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:160:18: note: insert '_Nullable' if the pointer may be null
void qsort(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:160:18: note: insert '_Nonnull' if the pointer should never be null
void qsort(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:161:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(const void *, const void *));
^
/usr/local/include/stdlib.h:161:43: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nullable
/usr/local/include/stdlib.h:161:43: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:161:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(const void *, const void *));
^
/usr/local/include/stdlib.h:161:57: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nullable
/usr/local/include/stdlib.h:161:57: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:165:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
/usr/local/include/stdlib.h:165:27: note: insert '_Nullable' if the pointer may be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nullable
/usr/local/include/stdlib.h:165:27: note: insert '_Nonnull' if the pointer should never be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nonnull
/usr/local/include/stdlib.h:165:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
/usr/local/include/stdlib.h:165:35: note: insert '_Nullable' if the pointer may be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nullable
/usr/local/include/stdlib.h:165:35: note: insert '_Nonnull' if the pointer should never be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nonnull
/usr/local/include/stdlib.h:165:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
/usr/local/include/stdlib.h:165:36: note: insert '_Nullable' if the pointer may be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nullable
/usr/local/include/stdlib.h:165:36: note: insert '_Nonnull' if the pointer should never be null
double strtod(const char *, char **) __DARWIN_ALIAS(strtod);
^
_Nonnull
/usr/local/include/stdlib.h:166:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
/usr/local/include/stdlib.h:166:26: note: insert '_Nullable' if the pointer may be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nullable
/usr/local/include/stdlib.h:166:26: note: insert '_Nonnull' if the pointer should never be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nonnull
/usr/local/include/stdlib.h:166:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
/usr/local/include/stdlib.h:166:34: note: insert '_Nullable' if the pointer may be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nullable
/usr/local/include/stdlib.h:166:34: note: insert '_Nonnull' if the pointer should never be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nonnull
/usr/local/include/stdlib.h:166:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
/usr/local/include/stdlib.h:166:35: note: insert '_Nullable' if the pointer may be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nullable
/usr/local/include/stdlib.h:166:35: note: insert '_Nonnull' if the pointer should never be null
float strtof(const char *, char **) __DARWIN_ALIAS(strtof);
^
_Nonnull
/usr/local/include/stdlib.h:167:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
long strtol(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:167:25: note: insert '_Nullable' if the pointer may be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:167:25: note: insert '_Nonnull' if the pointer should never be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:167:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
long strtol(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:167:38: note: insert '_Nullable' if the pointer may be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:167:38: note: insert '_Nonnull' if the pointer should never be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:167:39: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
long strtol(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:167:39: note: insert '_Nullable' if the pointer may be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:167:39: note: insert '_Nonnull' if the pointer should never be null
long strtol(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:169:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtold(const char *, char **);
^
/usr/local/include/stdlib.h:169:22: note: insert '_Nullable' if the pointer may be null
strtold(const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:169:22: note: insert '_Nonnull' if the pointer should never be null
strtold(const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:169:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtold(const char *, char **);
^
/usr/local/include/stdlib.h:169:30: note: insert '_Nullable' if the pointer may be null
strtold(const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:169:30: note: insert '_Nonnull' if the pointer should never be null
strtold(const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:169:31: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtold(const char *, char **);
^
/usr/local/include/stdlib.h:169:31: note: insert '_Nullable' if the pointer may be null
strtold(const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:169:31: note: insert '_Nonnull' if the pointer should never be null
strtold(const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:172:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoll(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:172:22: note: insert '_Nullable' if the pointer may be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:172:22: note: insert '_Nonnull' if the pointer should never be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:172:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoll(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:172:35: note: insert '_Nullable' if the pointer may be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:172:35: note: insert '_Nonnull' if the pointer should never be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:172:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoll(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:172:36: note: insert '_Nullable' if the pointer may be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:172:36: note: insert '_Nonnull' if the pointer should never be null
strtoll(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:175:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoul(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:175:22: note: insert '_Nullable' if the pointer may be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:175:22: note: insert '_Nonnull' if the pointer should never be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:175:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoul(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:175:35: note: insert '_Nullable' if the pointer may be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:175:35: note: insert '_Nonnull' if the pointer should never be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:175:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoul(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:175:36: note: insert '_Nullable' if the pointer may be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:175:36: note: insert '_Nonnull' if the pointer should never be null
strtoul(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:178:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoull(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:178:23: note: insert '_Nullable' if the pointer may be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:178:23: note: insert '_Nonnull' if the pointer should never be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:178:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoull(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:178:36: note: insert '_Nullable' if the pointer may be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:178:36: note: insert '_Nonnull' if the pointer should never be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:178:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoull(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:178:37: note: insert '_Nullable' if the pointer may be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:178:37: note: insert '_Nonnull' if the pointer should never be null
strtoull(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:190:24: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int system(const char *) __DARWIN_ALIAS_C(system);
^
/usr/local/include/stdlib.h:190:24: note: insert '_Nullable' if the pointer may be null
int system(const char *) __DARWIN_ALIAS_C(system);
^
_Nullable
/usr/local/include/stdlib.h:190:24: note: insert '_Nonnull' if the pointer should never be null
int system(const char *) __DARWIN_ALIAS_C(system);
^
_Nonnull
/usr/local/include/stdlib.h:194:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
/usr/local/include/stdlib.h:194:23: note: insert '_Nullable' if the pointer may be null
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:194:23: note: insert '_Nonnull' if the pointer should never be null
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:194:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
/usr/local/include/stdlib.h:194:51: note: insert '_Nullable' if the pointer may be null
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
_Nullable
/usr/local/include/stdlib.h:194:51: note: insert '_Nonnull' if the pointer should never be null
size_t wcstombs(char * __restrict, const wchar_t * __restrict, size_t);
^
_Nonnull
/usr/local/include/stdlib.h:195:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int wctomb(char *, wchar_t);
^
/usr/local/include/stdlib.h:195:18: note: insert '_Nullable' if the pointer may be null
int wctomb(char *, wchar_t);
^
_Nullable
/usr/local/include/stdlib.h:195:18: note: insert '_Nonnull' if the pointer should never be null
int wctomb(char *, wchar_t);
^
_Nonnull
/usr/local/include/stdlib.h:199:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
long a64l(const char *);
^
/usr/local/include/stdlib.h:199:23: note: insert '_Nullable' if the pointer may be null
long a64l(const char *);
^
_Nullable
/usr/local/include/stdlib.h:199:23: note: insert '_Nonnull' if the pointer should never be null
long a64l(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:201:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
/usr/local/include/stdlib.h:201:29: note: insert '_Nullable' if the pointer may be null
char *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:201:29: note: insert '_Nonnull' if the pointer should never be null
char *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:201:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
/usr/local/include/stdlib.h:201:46: note: insert '_Nullable' if the pointer may be null
char *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:201:46: note: insert '_Nonnull' if the pointer should never be null
char *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:201:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
/usr/local/include/stdlib.h:201:6: note: insert '_Nullable' if the pointer may be null
char *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:201:6: note: insert '_Nonnull' if the pointer should never be null
char *ecvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:202:31: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
double erand48(unsigned short[3]);
^
/usr/local/include/stdlib.h:202:31: note: insert '_Nullable' if the array parameter may be null
double erand48(unsigned short[3]);
^
_Nullable
/usr/local/include/stdlib.h:202:31: note: insert '_Nonnull' if the array parameter should never be null
double erand48(unsigned short[3]);
^
_Nonnull
/usr/local/include/stdlib.h:203:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
/usr/local/include/stdlib.h:203:29: note: insert '_Nullable' if the pointer may be null
char *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:203:29: note: insert '_Nonnull' if the pointer should never be null
char *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:203:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
/usr/local/include/stdlib.h:203:46: note: insert '_Nullable' if the pointer may be null
char *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:203:46: note: insert '_Nonnull' if the pointer should never be null
char *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:203:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
/usr/local/include/stdlib.h:203:6: note: insert '_Nullable' if the pointer may be null
char *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:203:6: note: insert '_Nonnull' if the pointer should never be null
char *fcvt(double, int, int *__restrict, int *__restrict); /* LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:204:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *gcvt(double, int, char *); /* LEGACY */
^
/usr/local/include/stdlib.h:204:30: note: insert '_Nullable' if the pointer may be null
char *gcvt(double, int, char *); /* LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:204:30: note: insert '_Nonnull' if the pointer should never be null
char *gcvt(double, int, char *); /* LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:204:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *gcvt(double, int, char *); /* LEGACY */
^
/usr/local/include/stdlib.h:204:6: note: insert '_Nullable' if the pointer may be null
char *gcvt(double, int, char *); /* LEGACY */
^
_Nullable
/usr/local/include/stdlib.h:204:6: note: insert '_Nonnull' if the pointer should never be null
char *gcvt(double, int, char *); /* LEGACY */
^
_Nonnull
/usr/local/include/stdlib.h:205:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:21: note: insert '_Nullable' if the pointer may be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:21: note: insert '_Nonnull' if the pointer should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:205:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:22: note: insert '_Nullable' if the pointer may be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:22: note: insert '_Nonnull' if the pointer should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:205:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:30: note: insert '_Nullable' if the pointer may be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:30: note: insert '_Nonnull' if the pointer should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:205:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:38: note: insert '_Nullable' if the pointer may be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:38: note: insert '_Nonnull' if the pointer should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:205:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:46: note: insert '_Nullable' if the pointer may be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:46: note: insert '_Nonnull' if the pointer should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:205:47: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int getsubopt(char **, char * const *, char **);
^
/usr/local/include/stdlib.h:205:47: note: insert '_Nullable' if the pointer may be null
int getsubopt(char **, char * const *, char **);
^
_Nullable
/usr/local/include/stdlib.h:205:47: note: insert '_Nonnull' if the pointer should never be null
int getsubopt(char **, char * const *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:208:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *initstate(unsigned, char *, size_t); /* no __DARWIN_ALIAS needed */
^
/usr/local/include/stdlib.h:208:32: note: insert '_Nullable' if the pointer may be null
char *initstate(unsigned, char *, size_t); /* no __DARWIN_ALIAS needed */
^
_Nullable
/usr/local/include/stdlib.h:208:32: note: insert '_Nonnull' if the pointer should never be null
char *initstate(unsigned, char *, size_t); /* no __DARWIN_ALIAS needed */
^
_Nonnull
/usr/local/include/stdlib.h:208:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *initstate(unsigned, char *, size_t); /* no __DARWIN_ALIAS needed */
^
/usr/local/include/stdlib.h:208:6: note: insert '_Nullable' if the pointer may be null
char *initstate(unsigned, char *, size_t); /* no __DARWIN_ALIAS needed */
^
_Nullable
/usr/local/include/stdlib.h:208:6: note: insert '_Nonnull' if the pointer should never be null
char *initstate(unsigned, char *, size_t); /* no __DARWIN_ALIAS needed */
^
_Nonnull
/usr/local/include/stdlib.h:212:29: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
long jrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
^
/usr/local/include/stdlib.h:212:29: note: insert '_Nullable' if the array parameter may be null
long jrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
^
_Nullable
/usr/local/include/stdlib.h:212:29: note: insert '_Nonnull' if the array parameter should never be null
long jrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
^
_Nonnull
/usr/local/include/stdlib.h:213:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *l64a(long);
^
/usr/local/include/stdlib.h:213:6: note: insert '_Nullable' if the pointer may be null
char *l64a(long);
^
_Nullable
/usr/local/include/stdlib.h:213:6: note: insert '_Nonnull' if the pointer should never be null
char *l64a(long);
^
_Nonnull
/usr/local/include/stdlib.h:214:29: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
void lcong48(unsigned short[7]);
^
/usr/local/include/stdlib.h:214:29: note: insert '_Nullable' if the array parameter may be null
void lcong48(unsigned short[7]);
^
_Nullable
/usr/local/include/stdlib.h:214:29: note: insert '_Nonnull' if the array parameter should never be null
void lcong48(unsigned short[7]);
^
_Nonnull
/usr/local/include/stdlib.h:216:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *mktemp(char *);
^
/usr/local/include/stdlib.h:216:19: note: insert '_Nullable' if the pointer may be null
char *mktemp(char *);
^
_Nullable
/usr/local/include/stdlib.h:216:19: note: insert '_Nonnull' if the pointer should never be null
char *mktemp(char *);
^
_Nonnull
/usr/local/include/stdlib.h:216:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *mktemp(char *);
^
/usr/local/include/stdlib.h:216:6: note: insert '_Nullable' if the pointer may be null
char *mktemp(char *);
^
_Nullable
/usr/local/include/stdlib.h:216:6: note: insert '_Nonnull' if the pointer should never be null
char *mktemp(char *);
^
_Nonnull
/usr/local/include/stdlib.h:217:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int mkstemp(char *);
^
/usr/local/include/stdlib.h:217:19: note: insert '_Nullable' if the pointer may be null
int mkstemp(char *);
^
_Nullable
/usr/local/include/stdlib.h:217:19: note: insert '_Nonnull' if the pointer should never be null
int mkstemp(char *);
^
_Nonnull
/usr/local/include/stdlib.h:219:29: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
long nrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
^
/usr/local/include/stdlib.h:219:29: note: insert '_Nullable' if the array parameter may be null
long nrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
^
_Nullable
/usr/local/include/stdlib.h:219:29: note: insert '_Nonnull' if the array parameter should never be null
long nrand48(unsigned short[3]) __swift_unavailable("Use arc4random instead.");
^
_Nonnull
/usr/local/include/stdlib.h:221:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *ptsname(int);
^
/usr/local/include/stdlib.h:221:6: note: insert '_Nullable' if the pointer may be null
char *ptsname(int);
^
_Nullable
/usr/local/include/stdlib.h:221:6: note: insert '_Nonnull' if the pointer should never be null
char *ptsname(int);
^
_Nonnull
/usr/local/include/stdlib.h:224:32: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int ptsname_r(int fildes, char *buffer, size_t buflen) __API_AVAILABLE(macos(10.13.4), ios(11.3), tvos(11.3), watchos(4.3));
^
/usr/local/include/stdlib.h:224:32: note: insert '_Nullable' if the pointer may be null
int ptsname_r(int fildes, char *buffer, size_t buflen) __API_AVAILABLE(macos(10.13.4), ios(11.3), tvos(11.3), watchos(4.3));
^
_Nullable
/usr/local/include/stdlib.h:224:32: note: insert '_Nonnull' if the pointer should never be null
int ptsname_r(int fildes, char *buffer, size_t buflen) __API_AVAILABLE(macos(10.13.4), ios(11.3), tvos(11.3), watchos(4.3));
^
_Nonnull
/usr/local/include/stdlib.h:227:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int putenv(char *) __DARWIN_ALIAS(putenv);
^
/usr/local/include/stdlib.h:227:18: note: insert '_Nullable' if the pointer may be null
int putenv(char *) __DARWIN_ALIAS(putenv);
^
_Nullable
/usr/local/include/stdlib.h:227:18: note: insert '_Nonnull' if the pointer should never be null
int putenv(char *) __DARWIN_ALIAS(putenv);
^
_Nonnull
/usr/local/include/stdlib.h:229:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
^
/usr/local/include/stdlib.h:229:22: note: insert '_Nullable' if the pointer may be null
int rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
^
_Nullable
/usr/local/include/stdlib.h:229:22: note: insert '_Nonnull' if the pointer should never be null
int rand_r(unsigned *) __swift_unavailable("Use arc4random instead.");
^
_Nonnull
/usr/local/include/stdlib.h:231:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
^
/usr/local/include/stdlib.h:231:27: note: insert '_Nullable' if the pointer may be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
^
_Nullable
/usr/local/include/stdlib.h:231:27: note: insert '_Nonnull' if the pointer should never be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
^
_Nonnull
/usr/local/include/stdlib.h:231:46: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
^
/usr/local/include/stdlib.h:231:46: note: insert '_Nullable' if the pointer may be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
^
_Nullable
/usr/local/include/stdlib.h:231:46: note: insert '_Nonnull' if the pointer should never be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
^
_Nonnull
/usr/local/include/stdlib.h:231:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
^
/usr/local/include/stdlib.h:231:6: note: insert '_Nullable' if the pointer may be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
^
_Nullable
/usr/local/include/stdlib.h:231:6: note: insert '_Nonnull' if the pointer should never be null
char *realpath(const char * __restrict, char * __restrict) __DARWIN_EXTSN(realpath);
^
_Nonnull
/usr/local/include/stdlib.h:236:24: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
*seed48(unsigned short[3]);
^
/usr/local/include/stdlib.h:236:24: note: insert '_Nullable' if the array parameter may be null
*seed48(unsigned short[3]);
^
_Nullable
/usr/local/include/stdlib.h:236:24: note: insert '_Nonnull' if the array parameter should never be null
*seed48(unsigned short[3]);
^
_Nonnull
/usr/local/include/stdlib.h:236:2: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
*seed48(unsigned short[3]);
^
/usr/local/include/stdlib.h:236:2: note: insert '_Nullable' if the pointer may be null
*seed48(unsigned short[3]);
^
_Nullable
/usr/local/include/stdlib.h:236:2: note: insert '_Nonnull' if the pointer should never be null
*seed48(unsigned short[3]);
^
_Nonnull
/usr/local/include/stdlib.h:237:24: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
^
/usr/local/include/stdlib.h:237:24: note: insert '_Nullable' if the pointer may be null
int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
^
_Nullable
/usr/local/include/stdlib.h:237:24: note: insert '_Nonnull' if the pointer should never be null
int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
^
_Nonnull
/usr/local/include/stdlib.h:237:45: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
^
/usr/local/include/stdlib.h:237:45: note: insert '_Nullable' if the pointer may be null
int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
^
_Nullable
/usr/local/include/stdlib.h:237:45: note: insert '_Nonnull' if the pointer should never be null
int setenv(const char * __name, const char * __value, int __overwrite) __DARWIN_ALIAS(setenv);
^
_Nonnull
/usr/local/include/stdlib.h:239:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void setkey(const char *) __DARWIN_ALIAS(setkey);
^
/usr/local/include/stdlib.h:239:25: note: insert '_Nullable' if the pointer may be null
void setkey(const char *) __DARWIN_ALIAS(setkey);
^
_Nullable
/usr/local/include/stdlib.h:239:25: note: insert '_Nonnull' if the pointer should never be null
void setkey(const char *) __DARWIN_ALIAS(setkey);
^
_Nonnull
/usr/local/include/stdlib.h:243:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *setstate(const char *);
^
/usr/local/include/stdlib.h:243:27: note: insert '_Nullable' if the pointer may be null
char *setstate(const char *);
^
_Nullable
/usr/local/include/stdlib.h:243:27: note: insert '_Nonnull' if the pointer should never be null
char *setstate(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:243:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *setstate(const char *);
^
/usr/local/include/stdlib.h:243:6: note: insert '_Nullable' if the pointer may be null
char *setstate(const char *);
^
_Nullable
/usr/local/include/stdlib.h:243:6: note: insert '_Nonnull' if the pointer should never be null
char *setstate(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:252:26: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
^
/usr/local/include/stdlib.h:252:26: note: insert '_Nullable' if the pointer may be null
int unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
^
_Nullable
/usr/local/include/stdlib.h:252:26: note: insert '_Nonnull' if the pointer should never be null
int unsetenv(const char *) __DARWIN_ALIAS(unsetenv);
^
_Nonnull
/usr/local/include/stdlib.h:265:42: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void arc4random_addrandom(unsigned char * /*dat*/, int /*datlen*/)
^
/usr/local/include/stdlib.h:265:42: note: insert '_Nullable' if the pointer may be null
void arc4random_addrandom(unsigned char * /*dat*/, int /*datlen*/)
^
_Nullable
/usr/local/include/stdlib.h:265:42: note: insert '_Nonnull' if the pointer should never be null
void arc4random_addrandom(unsigned char * /*dat*/, int /*datlen*/)
^
_Nonnull
/usr/local/include/stdlib.h:270:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
^
/usr/local/include/stdlib.h:270:27: note: insert '_Nullable' if the pointer may be null
void arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
^
_Nullable
/usr/local/include/stdlib.h:270:27: note: insert '_Nonnull' if the pointer should never be null
void arc4random_buf(void * __buf, size_t __nbytes) __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3);
^
_Nonnull
/usr/local/include/stdlib.h:276:28: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:276:28: note: insert '_Nullable' if the pointer may be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:276:28: note: insert '_Nonnull' if the pointer should never be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:276:47: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:276:47: note: insert '_Nullable' if the pointer may be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:276:47: note: insert '_Nonnull' if the pointer should never be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:277:59: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
^
/usr/local/include/stdlib.h:277:59: note: insert '_Nullable' if the pointer may be null
size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
^
_Nullable
/usr/local/include/stdlib.h:277:59: note: insert '_Nonnull' if the pointer should never be null
size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
^
_Nonnull
/usr/local/include/stdlib.h:277:73: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
^
/usr/local/include/stdlib.h:277:73: note: insert '_Nullable' if the pointer may be null
size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
^
_Nullable
/usr/local/include/stdlib.h:277:73: note: insert '_Nonnull' if the pointer should never be null
size_t __width, int (^ _Nonnull __compar)(const void *, const void *)) __OSX_AVAILABLE_STARTING(__MAC_10_6, __IPHONE_3_2);
^
_Nonnull
/usr/local/include/stdlib.h:276:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
/usr/local/include/stdlib.h:276:6: note: insert '_Nullable' if the pointer may be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nullable
/usr/local/include/stdlib.h:276:6: note: insert '_Nonnull' if the pointer should never be null
void *bsearch_b(const void *__key, const void *__base, size_t __nel,
^
_Nonnull
/usr/local/include/stdlib.h:281:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *cgetcap(char *, const char *, int);
^
/usr/local/include/stdlib.h:281:20: note: insert '_Nullable' if the pointer may be null
char *cgetcap(char *, const char *, int);
^
_Nullable
/usr/local/include/stdlib.h:281:20: note: insert '_Nonnull' if the pointer should never be null
char *cgetcap(char *, const char *, int);
^
_Nonnull
/usr/local/include/stdlib.h:281:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *cgetcap(char *, const char *, int);
^
/usr/local/include/stdlib.h:281:34: note: insert '_Nullable' if the pointer may be null
char *cgetcap(char *, const char *, int);
^
_Nullable
/usr/local/include/stdlib.h:281:34: note: insert '_Nonnull' if the pointer should never be null
char *cgetcap(char *, const char *, int);
^
_Nonnull
/usr/local/include/stdlib.h:281:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *cgetcap(char *, const char *, int);
^
/usr/local/include/stdlib.h:281:6: note: insert '_Nullable' if the pointer may be null
char *cgetcap(char *, const char *, int);
^
_Nullable
/usr/local/include/stdlib.h:281:6: note: insert '_Nonnull' if the pointer should never be null
char *cgetcap(char *, const char *, int);
^
_Nonnull
/usr/local/include/stdlib.h:283:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetent(char **, char **, const char *);
^
/usr/local/include/stdlib.h:283:19: note: insert '_Nullable' if the pointer may be null
int cgetent(char **, char **, const char *);
^
_Nullable
/usr/local/include/stdlib.h:283:19: note: insert '_Nonnull' if the pointer should never be null
int cgetent(char **, char **, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:283:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetent(char **, char **, const char *);
^
/usr/local/include/stdlib.h:283:20: note: insert '_Nullable' if the pointer may be null
int cgetent(char **, char **, const char *);
^
_Nullable
/usr/local/include/stdlib.h:283:20: note: insert '_Nonnull' if the pointer should never be null
int cgetent(char **, char **, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:283:28: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetent(char **, char **, const char *);
^
/usr/local/include/stdlib.h:283:28: note: insert '_Nullable' if the pointer may be null
int cgetent(char **, char **, const char *);
^
_Nullable
/usr/local/include/stdlib.h:283:28: note: insert '_Nonnull' if the pointer should never be null
int cgetent(char **, char **, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:283:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetent(char **, char **, const char *);
^
/usr/local/include/stdlib.h:283:29: note: insert '_Nullable' if the pointer may be null
int cgetent(char **, char **, const char *);
^
_Nullable
/usr/local/include/stdlib.h:283:29: note: insert '_Nonnull' if the pointer should never be null
int cgetent(char **, char **, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:283:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetent(char **, char **, const char *);
^
/usr/local/include/stdlib.h:283:43: note: insert '_Nullable' if the pointer may be null
int cgetent(char **, char **, const char *);
^
_Nullable
/usr/local/include/stdlib.h:283:43: note: insert '_Nonnull' if the pointer should never be null
int cgetent(char **, char **, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:284:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetfirst(char **, char **);
^
/usr/local/include/stdlib.h:284:21: note: insert '_Nullable' if the pointer may be null
int cgetfirst(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:284:21: note: insert '_Nonnull' if the pointer should never be null
int cgetfirst(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:284:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetfirst(char **, char **);
^
/usr/local/include/stdlib.h:284:22: note: insert '_Nullable' if the pointer may be null
int cgetfirst(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:284:22: note: insert '_Nonnull' if the pointer should never be null
int cgetfirst(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:284:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetfirst(char **, char **);
^
/usr/local/include/stdlib.h:284:30: note: insert '_Nullable' if the pointer may be null
int cgetfirst(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:284:30: note: insert '_Nonnull' if the pointer should never be null
int cgetfirst(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:284:31: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetfirst(char **, char **);
^
/usr/local/include/stdlib.h:284:31: note: insert '_Nullable' if the pointer may be null
int cgetfirst(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:284:31: note: insert '_Nonnull' if the pointer should never be null
int cgetfirst(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:285:27: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetmatch(const char *, const char *);
^
/usr/local/include/stdlib.h:285:27: note: insert '_Nullable' if the pointer may be null
int cgetmatch(const char *, const char *);
^
_Nullable
/usr/local/include/stdlib.h:285:27: note: insert '_Nonnull' if the pointer should never be null
int cgetmatch(const char *, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:285:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetmatch(const char *, const char *);
^
/usr/local/include/stdlib.h:285:41: note: insert '_Nullable' if the pointer may be null
int cgetmatch(const char *, const char *);
^
_Nullable
/usr/local/include/stdlib.h:285:41: note: insert '_Nonnull' if the pointer should never be null
int cgetmatch(const char *, const char *);
^
_Nonnull
/usr/local/include/stdlib.h:286:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetnext(char **, char **);
^
/usr/local/include/stdlib.h:286:20: note: insert '_Nullable' if the pointer may be null
int cgetnext(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:286:20: note: insert '_Nonnull' if the pointer should never be null
int cgetnext(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:286:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetnext(char **, char **);
^
/usr/local/include/stdlib.h:286:21: note: insert '_Nullable' if the pointer may be null
int cgetnext(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:286:21: note: insert '_Nonnull' if the pointer should never be null
int cgetnext(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:286:29: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetnext(char **, char **);
^
/usr/local/include/stdlib.h:286:29: note: insert '_Nullable' if the pointer may be null
int cgetnext(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:286:29: note: insert '_Nonnull' if the pointer should never be null
int cgetnext(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:286:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetnext(char **, char **);
^
/usr/local/include/stdlib.h:286:30: note: insert '_Nullable' if the pointer may be null
int cgetnext(char **, char **);
^
_Nullable
/usr/local/include/stdlib.h:286:30: note: insert '_Nonnull' if the pointer should never be null
int cgetnext(char **, char **);
^
_Nonnull
/usr/local/include/stdlib.h:287:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetnum(char *, const char *, long *);
^
/usr/local/include/stdlib.h:287:19: note: insert '_Nullable' if the pointer may be null
int cgetnum(char *, const char *, long *);
^
_Nullable
/usr/local/include/stdlib.h:287:19: note: insert '_Nonnull' if the pointer should never be null
int cgetnum(char *, const char *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:287:33: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetnum(char *, const char *, long *);
^
/usr/local/include/stdlib.h:287:33: note: insert '_Nullable' if the pointer may be null
int cgetnum(char *, const char *, long *);
^
_Nullable
/usr/local/include/stdlib.h:287:33: note: insert '_Nonnull' if the pointer should never be null
int cgetnum(char *, const char *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:287:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetnum(char *, const char *, long *);
^
/usr/local/include/stdlib.h:287:41: note: insert '_Nullable' if the pointer may be null
int cgetnum(char *, const char *, long *);
^
_Nullable
/usr/local/include/stdlib.h:287:41: note: insert '_Nonnull' if the pointer should never be null
int cgetnum(char *, const char *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:288:25: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetset(const char *);
^
/usr/local/include/stdlib.h:288:25: note: insert '_Nullable' if the pointer may be null
int cgetset(const char *);
^
_Nullable
/usr/local/include/stdlib.h:288:25: note: insert '_Nonnull' if the pointer should never be null
int cgetset(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:289:19: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetstr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:289:19: note: insert '_Nullable' if the pointer may be null
int cgetstr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:289:19: note: insert '_Nonnull' if the pointer should never be null
int cgetstr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:289:33: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetstr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:289:33: note: insert '_Nullable' if the pointer may be null
int cgetstr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:289:33: note: insert '_Nonnull' if the pointer should never be null
int cgetstr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:289:41: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetstr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:289:41: note: insert '_Nullable' if the pointer may be null
int cgetstr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:289:41: note: insert '_Nonnull' if the pointer should never be null
int cgetstr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:289:42: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetstr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:289:42: note: insert '_Nullable' if the pointer may be null
int cgetstr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:289:42: note: insert '_Nonnull' if the pointer should never be null
int cgetstr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:290:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetustr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:290:20: note: insert '_Nullable' if the pointer may be null
int cgetustr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:290:20: note: insert '_Nonnull' if the pointer should never be null
int cgetustr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:290:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetustr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:290:34: note: insert '_Nullable' if the pointer may be null
int cgetustr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:290:34: note: insert '_Nonnull' if the pointer should never be null
int cgetustr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:290:42: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetustr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:290:42: note: insert '_Nullable' if the pointer may be null
int cgetustr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:290:42: note: insert '_Nonnull' if the pointer should never be null
int cgetustr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:290:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int cgetustr(char *, const char *, char **);
^
/usr/local/include/stdlib.h:290:43: note: insert '_Nullable' if the pointer may be null
int cgetustr(char *, const char *, char **);
^
_Nullable
/usr/local/include/stdlib.h:290:43: note: insert '_Nonnull' if the pointer should never be null
int cgetustr(char *, const char *, char **);
^
_Nonnull
/usr/local/include/stdlib.h:293:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *devname(dev_t, mode_t);
^
/usr/local/include/stdlib.h:293:6: note: insert '_Nullable' if the pointer may be null
char *devname(dev_t, mode_t);
^
_Nullable
/usr/local/include/stdlib.h:293:6: note: insert '_Nonnull' if the pointer should never be null
char *devname(dev_t, mode_t);
^
_Nonnull
/usr/local/include/stdlib.h:294:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *devname_r(dev_t, mode_t, char *buf, int len);
^
/usr/local/include/stdlib.h:294:37: note: insert '_Nullable' if the pointer may be null
char *devname_r(dev_t, mode_t, char *buf, int len);
^
_Nullable
/usr/local/include/stdlib.h:294:37: note: insert '_Nonnull' if the pointer should never be null
char *devname_r(dev_t, mode_t, char *buf, int len);
^
_Nonnull
/usr/local/include/stdlib.h:294:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *devname_r(dev_t, mode_t, char *buf, int len);
^
/usr/local/include/stdlib.h:294:6: note: insert '_Nullable' if the pointer may be null
char *devname_r(dev_t, mode_t, char *buf, int len);
^
_Nullable
/usr/local/include/stdlib.h:294:6: note: insert '_Nonnull' if the pointer should never be null
char *devname_r(dev_t, mode_t, char *buf, int len);
^
_Nonnull
/usr/local/include/stdlib.h:295:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *getbsize(int *, long *);
^
/usr/local/include/stdlib.h:295:20: note: insert '_Nullable' if the pointer may be null
char *getbsize(int *, long *);
^
_Nullable
/usr/local/include/stdlib.h:295:20: note: insert '_Nonnull' if the pointer should never be null
char *getbsize(int *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:295:28: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *getbsize(int *, long *);
^
/usr/local/include/stdlib.h:295:28: note: insert '_Nullable' if the pointer may be null
char *getbsize(int *, long *);
^
_Nullable
/usr/local/include/stdlib.h:295:28: note: insert '_Nonnull' if the pointer should never be null
char *getbsize(int *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:295:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
char *getbsize(int *, long *);
^
/usr/local/include/stdlib.h:295:6: note: insert '_Nullable' if the pointer may be null
char *getbsize(int *, long *);
^
_Nullable
/usr/local/include/stdlib.h:295:6: note: insert '_Nonnull' if the pointer should never be null
char *getbsize(int *, long *);
^
_Nonnull
/usr/local/include/stdlib.h:296:24: warning: array parameter is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness-on-arrays]
int getloadavg(double [], int);
^
/usr/local/include/stdlib.h:296:24: note: insert '_Nullable' if the array parameter may be null
int getloadavg(double [], int);
^
_Nullable
/usr/local/include/stdlib.h:296:24: note: insert '_Nonnull' if the array parameter should never be null
int getloadavg(double [], int);
^
_Nonnull
/usr/local/include/stdlib.h:298:2: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
*getprogname(void);
^
/usr/local/include/stdlib.h:298:2: note: insert '_Nullable' if the pointer may be null
*getprogname(void);
^
_Nullable
/usr/local/include/stdlib.h:298:2: note: insert '_Nonnull' if the pointer should never be null
*getprogname(void);
^
_Nonnull
/usr/local/include/stdlib.h:299:30: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void setprogname(const char *);
^
/usr/local/include/stdlib.h:299:30: note: insert '_Nullable' if the pointer may be null
void setprogname(const char *);
^
_Nullable
/usr/local/include/stdlib.h:299:30: note: insert '_Nonnull' if the pointer should never be null
void setprogname(const char *);
^
_Nonnull
/usr/local/include/stdlib.h:309:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int heapsort(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:309:20: note: insert '_Nullable' if the pointer may be null
int heapsort(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:309:20: note: insert '_Nonnull' if the pointer should never be null
int heapsort(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:310:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(const void *, const void *));
^
/usr/local/include/stdlib.h:310:43: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nullable
/usr/local/include/stdlib.h:310:43: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:310:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(const void *, const void *));
^
/usr/local/include/stdlib.h:310:57: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nullable
/usr/local/include/stdlib.h:310:57: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:312:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int heapsort_b(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:312:22: note: insert '_Nullable' if the pointer may be null
int heapsort_b(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:312:22: note: insert '_Nonnull' if the pointer should never be null
int heapsort_b(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:313:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:313:43: note: insert '_Nullable' if the pointer may be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:313:43: note: insert '_Nonnull' if the pointer should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:313:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:313:57: note: insert '_Nullable' if the pointer may be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:313:57: note: insert '_Nonnull' if the pointer should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:316:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int mergesort(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:316:21: note: insert '_Nullable' if the pointer may be null
int mergesort(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:316:21: note: insert '_Nonnull' if the pointer should never be null
int mergesort(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:317:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(const void *, const void *));
^
/usr/local/include/stdlib.h:317:43: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nullable
/usr/local/include/stdlib.h:317:43: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:317:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(const void *, const void *));
^
/usr/local/include/stdlib.h:317:57: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nullable
/usr/local/include/stdlib.h:317:57: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:319:23: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int mergesort_b(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:319:23: note: insert '_Nullable' if the pointer may be null
int mergesort_b(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:319:23: note: insert '_Nonnull' if the pointer should never be null
int mergesort_b(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:320:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:320:43: note: insert '_Nullable' if the pointer may be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:320:43: note: insert '_Nonnull' if the pointer should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:320:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:320:57: note: insert '_Nullable' if the pointer may be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:320:57: note: insert '_Nonnull' if the pointer should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:323:18: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void psort(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:323:18: note: insert '_Nullable' if the pointer may be null
void psort(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:323:18: note: insert '_Nonnull' if the pointer should never be null
void psort(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:324:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(const void *, const void *))
^
/usr/local/include/stdlib.h:324:43: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(const void *, const void *))
^
_Nullable
/usr/local/include/stdlib.h:324:43: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(const void *, const void *))
^
_Nonnull
/usr/local/include/stdlib.h:324:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(const void *, const void *))
^
/usr/local/include/stdlib.h:324:57: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(const void *, const void *))
^
_Nullable
/usr/local/include/stdlib.h:324:57: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(const void *, const void *))
^
_Nonnull
/usr/local/include/stdlib.h:327:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void psort_b(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:327:20: note: insert '_Nullable' if the pointer may be null
void psort_b(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:327:20: note: insert '_Nonnull' if the pointer should never be null
void psort_b(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:328:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:328:43: note: insert '_Nullable' if the pointer may be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:328:43: note: insert '_Nonnull' if the pointer should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:328:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:328:57: note: insert '_Nullable' if the pointer may be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:328:57: note: insert '_Nonnull' if the pointer should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:331:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void psort_r(void *__base, size_t __nel, size_t __width, void *,
^
/usr/local/include/stdlib.h:331:20: note: insert '_Nullable' if the pointer may be null
void psort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nullable
/usr/local/include/stdlib.h:331:20: note: insert '_Nonnull' if the pointer should never be null
void psort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nonnull
/usr/local/include/stdlib.h:331:64: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void psort_r(void *__base, size_t __nel, size_t __width, void *,
^
/usr/local/include/stdlib.h:331:64: note: insert '_Nullable' if the pointer may be null
void psort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nullable
/usr/local/include/stdlib.h:331:64: note: insert '_Nonnull' if the pointer should never be null
void psort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nonnull
/usr/local/include/stdlib.h:332:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(void *, const void *, const void *))
^
/usr/local/include/stdlib.h:332:37: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(void *, const void *, const void *))
^
_Nullable
/usr/local/include/stdlib.h:332:37: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(void *, const void *, const void *))
^
_Nonnull
/usr/local/include/stdlib.h:332:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(void *, const void *, const void *))
^
/usr/local/include/stdlib.h:332:51: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(void *, const void *, const void *))
^
_Nullable
/usr/local/include/stdlib.h:332:51: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(void *, const void *, const void *))
^
_Nonnull
/usr/local/include/stdlib.h:332:65: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(void *, const void *, const void *))
^
/usr/local/include/stdlib.h:332:65: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(void *, const void *, const void *))
^
_Nullable
/usr/local/include/stdlib.h:332:65: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(void *, const void *, const void *))
^
_Nonnull
/usr/local/include/stdlib.h:335:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void qsort_b(void *__base, size_t __nel, size_t __width,
^
/usr/local/include/stdlib.h:335:20: note: insert '_Nullable' if the pointer may be null
void qsort_b(void *__base, size_t __nel, size_t __width,
^
_Nullable
/usr/local/include/stdlib.h:335:20: note: insert '_Nonnull' if the pointer should never be null
void qsort_b(void *__base, size_t __nel, size_t __width,
^
_Nonnull
/usr/local/include/stdlib.h:336:43: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:336:43: note: insert '_Nullable' if the pointer may be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:336:43: note: insert '_Nonnull' if the pointer should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:336:57: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
/usr/local/include/stdlib.h:336:57: note: insert '_Nullable' if the pointer may be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nullable
/usr/local/include/stdlib.h:336:57: note: insert '_Nonnull' if the pointer should never be null
int (^ _Nonnull __compar)(const void *, const void *) __sort_noescape)
^
_Nonnull
/usr/local/include/stdlib.h:339:20: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void qsort_r(void *__base, size_t __nel, size_t __width, void *,
^
/usr/local/include/stdlib.h:339:20: note: insert '_Nullable' if the pointer may be null
void qsort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nullable
/usr/local/include/stdlib.h:339:20: note: insert '_Nonnull' if the pointer should never be null
void qsort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nonnull
/usr/local/include/stdlib.h:339:64: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void qsort_r(void *__base, size_t __nel, size_t __width, void *,
^
/usr/local/include/stdlib.h:339:64: note: insert '_Nullable' if the pointer may be null
void qsort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nullable
/usr/local/include/stdlib.h:339:64: note: insert '_Nonnull' if the pointer should never be null
void qsort_r(void *__base, size_t __nel, size_t __width, void *,
^
_Nonnull
/usr/local/include/stdlib.h:340:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(void *, const void *, const void *));
^
/usr/local/include/stdlib.h:340:37: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(void *, const void *, const void *));
^
_Nullable
/usr/local/include/stdlib.h:340:37: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(void *, const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:340:51: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(void *, const void *, const void *));
^
/usr/local/include/stdlib.h:340:51: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(void *, const void *, const void *));
^
_Nullable
/usr/local/include/stdlib.h:340:51: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(void *, const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:340:65: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int (* _Nonnull __compar)(void *, const void *, const void *));
^
/usr/local/include/stdlib.h:340:65: note: insert '_Nullable' if the pointer may be null
int (* _Nonnull __compar)(void *, const void *, const void *));
^
_Nullable
/usr/local/include/stdlib.h:340:65: note: insert '_Nonnull' if the pointer should never be null
int (* _Nonnull __compar)(void *, const void *, const void *));
^
_Nonnull
/usr/local/include/stdlib.h:341:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
/usr/local/include/stdlib.h:341:36: note: insert '_Nullable' if the pointer may be null
int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nullable
/usr/local/include/stdlib.h:341:36: note: insert '_Nonnull' if the pointer should never be null
int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nonnull
/usr/local/include/stdlib.h:341:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
/usr/local/include/stdlib.h:341:37: note: insert '_Nullable' if the pointer may be null
int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nullable
/usr/local/include/stdlib.h:341:37: note: insert '_Nonnull' if the pointer should never be null
int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nonnull
/usr/local/include/stdlib.h:341:77: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
/usr/local/include/stdlib.h:341:77: note: insert '_Nullable' if the pointer may be null
int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nullable
/usr/local/include/stdlib.h:341:77: note: insert '_Nonnull' if the pointer should never be null
int radixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nonnull
/usr/local/include/stdlib.h:343:24: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int rpmatch(const char *)
^
/usr/local/include/stdlib.h:343:24: note: insert '_Nullable' if the pointer may be null
int rpmatch(const char *)
^
_Nullable
/usr/local/include/stdlib.h:343:24: note: insert '_Nonnull' if the pointer should never be null
int rpmatch(const char *)
^
_Nonnull
/usr/local/include/stdlib.h:345:37: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
/usr/local/include/stdlib.h:345:37: note: insert '_Nullable' if the pointer may be null
int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nullable
/usr/local/include/stdlib.h:345:37: note: insert '_Nonnull' if the pointer should never be null
int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nonnull
/usr/local/include/stdlib.h:345:38: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
/usr/local/include/stdlib.h:345:38: note: insert '_Nullable' if the pointer may be null
int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nullable
/usr/local/include/stdlib.h:345:38: note: insert '_Nonnull' if the pointer should never be null
int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nonnull
/usr/local/include/stdlib.h:345:78: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
/usr/local/include/stdlib.h:345:78: note: insert '_Nullable' if the pointer may be null
int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nullable
/usr/local/include/stdlib.h:345:78: note: insert '_Nonnull' if the pointer should never be null
int sradixsort(const unsigned char **__base, int __nel, const unsigned char *__table,
^
_Nonnull
/usr/local/include/stdlib.h:349:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
/usr/local/include/stdlib.h:349:21: note: insert '_Nullable' if the pointer may be null
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
_Nullable
/usr/local/include/stdlib.h:349:21: note: insert '_Nonnull' if the pointer should never be null
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
_Nonnull
/usr/local/include/stdlib.h:349:6: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
/usr/local/include/stdlib.h:349:6: note: insert '_Nullable' if the pointer may be null
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
_Nullable
/usr/local/include/stdlib.h:349:6: note: insert '_Nonnull' if the pointer should never be null
void *reallocf(void *__ptr, size_t __size) __alloc_size(2);
^
_Nonnull
/usr/local/include/stdlib.h:351:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
^
/usr/local/include/stdlib.h:351:22: note: insert '_Nullable' if the pointer may be null
strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
^
_Nullable
/usr/local/include/stdlib.h:351:22: note: insert '_Nonnull' if the pointer should never be null
strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
^
_Nonnull
/usr/local/include/stdlib.h:351:84: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
^
/usr/local/include/stdlib.h:351:84: note: insert '_Nullable' if the pointer may be null
strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
^
_Nullable
/usr/local/include/stdlib.h:351:84: note: insert '_Nonnull' if the pointer should never be null
strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
^
_Nonnull
/usr/local/include/stdlib.h:351:85: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
^
/usr/local/include/stdlib.h:351:85: note: insert '_Nullable' if the pointer may be null
strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
^
_Nullable
/usr/local/include/stdlib.h:351:85: note: insert '_Nonnull' if the pointer should never be null
strtonum(const char *__numstr, long long __minval, long long __maxval, const char **__errstrp)
^
_Nonnull
/usr/local/include/stdlib.h:355:21: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:355:21: note: insert '_Nullable' if the pointer may be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:355:21: note: insert '_Nonnull' if the pointer should never be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:355:34: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:355:34: note: insert '_Nullable' if the pointer may be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:355:34: note: insert '_Nonnull' if the pointer should never be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:355:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtoq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:355:35: note: insert '_Nullable' if the pointer may be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:355:35: note: insert '_Nonnull' if the pointer should never be null
strtoq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:357:22: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtouq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:357:22: note: insert '_Nullable' if the pointer may be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:357:22: note: insert '_Nonnull' if the pointer should never be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:357:35: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtouq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:357:35: note: insert '_Nullable' if the pointer may be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:357:35: note: insert '_Nonnull' if the pointer should never be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:357:36: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
strtouq(const char *__str, char **__endptr, int __base);
^
/usr/local/include/stdlib.h:357:36: note: insert '_Nullable' if the pointer may be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nullable
/usr/local/include/stdlib.h:357:36: note: insert '_Nonnull' if the pointer should never be null
strtouq(const char *__str, char **__endptr, int __base);
^
_Nonnull
/usr/local/include/stdlib.h:359:13: warning: pointer is missing a nullability type specifier (_Nonnull, _Nullable, or _Null_unspecified) [-Wnullability-completeness]
extern char *suboptarg; /* getsubopt(3) external variable */
^
/usr/local/include/stdlib.h:359:13: note: insert '_Nullable' if the pointer may be null
extern char *suboptarg; /* getsubopt(3) external variable */
^
_Nullable
/usr/local/include/stdlib.h:359:13: note: insert '_Nonnull' if the pointer should never be null
extern char *suboptarg; /* getsubopt(3) external variable */
^
_Nonnull
193 warnings generated.
xcrun c++ -std=c++14 -m64 -pthread -ftrapping-math -DOPENFOAM=2006 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-undefined-var-template -Wno-unknown-warning-option -O3 -DNoRepository -ftemplate-depth-100 -fPIC wmkdepend.cc -o /Volumes/OpenFOAM/OpenFOAM-v2006/platforms/tools/darwin64Clang/wmkdepend
In file included from wmkdepend.rl:72:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_map:411:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__hash_table:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:321:9: error: no member named 'signbit' in the global namespace
using ::signbit;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:322:9: error: no member named 'fpclassify' in the global namespace
using ::fpclassify;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:323:9: error: no member named 'isfinite' in the global namespace; did you mean 'finite'?
using ::isfinite;
~~^
/usr/local/include/math.h:752:12: note: 'finite' declared here
extern int finite(double)
^
In file included from wmkdepend.rl:72:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_map:411:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__hash_table:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:324:9: error: no member named 'isinf' in the global namespace
using ::isinf;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:325:9: error: no member named 'isnan' in the global namespace
using ::isnan;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:326:9: error: no member named 'isnormal' in the global namespace
using ::isnormal;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:327:7: error: no member named 'isgreater' in the global namespace; did you mean '::std::greater'?
using ::isgreater;
^~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:738:29: note: '::std::greater' declared here
struct _LIBCPP_TEMPLATE_VIS greater : binary_function<_Tp, _Tp, bool>
^
In file included from wmkdepend.rl:72:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_map:411:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__hash_table:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:328:7: error: no member named 'isgreaterequal' in the global namespace; did you mean '::std::greater_equal'?
using ::isgreaterequal;
^~
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/functional:767:29: note: '::std::greater_equal' declared here
struct _LIBCPP_TEMPLATE_VIS greater_equal : binary_function<_Tp, _Tp, bool>
^
In file included from wmkdepend.rl:72:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/unordered_map:411:
In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/__hash_table:18:
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:329:9: error: no member named 'isless' in the global namespace
using ::isless;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:330:9: error: no member named 'islessequal' in the global namespace
using ::islessequal;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:331:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:332:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath:333:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.
make: *** [/Volumes/OpenFOAM/OpenFOAM-v2006/platforms/tools/darwin64Clang/wmkdepend] Error 1
Well, this could be also a problem of conflicting installations: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1/cmath
file includes math.h
header. I do not know which one is included in your case: the one from /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include
or the one from /usr/local/include
. But this line
/usr/local/include/math.h:752:12: note: 'finite' declared here
suggests that math.h
from GCC is included.
Is there a way to manually fix the include files? Also, it is little surprising that for OpenFOAM v8, on the same system, this is not an issue. Compilation proceeds as expected.
Yes, it seems that the file math.h
in the /usr/local/include was the one that was being used. And that was not correct. A way around is to delete that file in the usr/local/include.
Also, now I am using OpenFOAMv2106 and it seems to work without any patch.
Thanks for the support.
Though, you have solved your problem, you have broken your GCC installation.
I am looking at v2106 patch and it solves certain issues but generally this version can be compiled and used on MacOS without any patches.
Yes, I was aware of that it will break something and it was a brute force test. Do we need gcc from brew and command line tools both together for OpenFOAM?
I am able to compile OpenFOAMv2106 and it seems to work at least for the damBreak case. Although runParallel command fails.
Manually running in parallel using mpirun
works though.
Command Line Tools are enough to build OpenFOAM (though, you can go another way: install GCC using brew and use GCC to compile OpenFOAM).
Another difficulty with macOS is SIP (System Integrity Protection), it clears DYLD_LIBRARY_PATH
in Bash scripts, so Allrun.sh scripts, generally, become broken without additions.
I wanted to use only the command line tools, however, for open-mpi, we need brew, and then brew installs gcc as a dependency for that. Is there a way to avoid that?
I thought Gcc formula does not create symlinks to headers:
$ brew -v link gcc
Linking /usr/local/Cellar/gcc/11.2.0...
ln -s ../Cellar/gcc/11.2.0/bin/c++-11 c++-11
ln -s ../Cellar/gcc/11.2.0/bin/cpp-11 cpp-11
ln -s ../Cellar/gcc/11.2.0/bin/g++-11 g++-11
ln -s ../Cellar/gcc/11.2.0/bin/gcc-11 gcc-11
ln -s ../Cellar/gcc/11.2.0/bin/gcc-ar-11 gcc-ar-11
ln -s ../Cellar/gcc/11.2.0/bin/gcc-nm-11 gcc-nm-11
ln -s ../Cellar/gcc/11.2.0/bin/gcc-ranlib-11 gcc-ranlib-11
ln -s ../Cellar/gcc/11.2.0/bin/gcov-11 gcov-11
ln -s ../Cellar/gcc/11.2.0/bin/gcov-dump-11 gcov-dump-11
ln -s ../Cellar/gcc/11.2.0/bin/gcov-tool-11 gcov-tool-11
ln -s ../Cellar/gcc/11.2.0/bin/gdc gdc
ln -s ../Cellar/gcc/11.2.0/bin/gdc-11 gdc-11
ln -s ../Cellar/gcc/11.2.0/bin/gfortran gfortran
ln -s ../Cellar/gcc/11.2.0/bin/gfortran-11 gfortran-11
ln -s ../Cellar/gcc/11.2.0/bin/lto-dump-11 lto-dump-11
ln -s ../Cellar/gcc/11.2.0/bin/x86_64-apple-darwin20-c++-11 x86_64-apple-darwin20-c++-11
ln -s ../Cellar/gcc/11.2.0/bin/x86_64-apple-darwin20-g++-11 x86_64-apple-darwin20-g++-11
ln -s ../Cellar/gcc/11.2.0/bin/x86_64-apple-darwin20-gcc-11 x86_64-apple-darwin20-gcc-11
ln -s ../Cellar/gcc/11.2.0/bin/x86_64-apple-darwin20-gcc-11.2.0 x86_64-apple-darwin20-gcc-11.2.0
ln -s ../Cellar/gcc/11.2.0/bin/x86_64-apple-darwin20-gcc-ar-11 x86_64-apple-darwin20-gcc-ar-11
ln -s ../Cellar/gcc/11.2.0/bin/x86_64-apple-darwin20-gcc-nm-11 x86_64-apple-darwin20-gcc-nm-11
ln -s ../Cellar/gcc/11.2.0/bin/x86_64-apple-darwin20-gcc-ranlib-11 x86_64-apple-darwin20-gcc-ranlib-11
ln -s ../Cellar/gcc/11.2.0/bin/x86_64-apple-darwin20-gdc-11 x86_64-apple-darwin20-gdc-11
ln -s ../Cellar/gcc/11.2.0/bin/x86_64-apple-darwin20-gfortran-11 x86_64-apple-darwin20-gfortran-11
ln -s ../Cellar/gcc/11.2.0/include/c++ c++
ln -s ../Cellar/gcc/11.2.0/share/gcc-11.2.0 gcc-11.2.0
ln -s ../../../Cellar/gcc/11.2.0/share/man/man1/cpp-11.1 cpp-11.1
ln -s ../../../Cellar/gcc/11.2.0/share/man/man1/g++-11.1 g++-11.1
ln -s ../../../Cellar/gcc/11.2.0/share/man/man1/gcc-11.1 gcc-11.1
ln -s ../../../Cellar/gcc/11.2.0/share/man/man1/gcov-11.1 gcov-11.1
ln -s ../../../Cellar/gcc/11.2.0/share/man/man1/gcov-dump-11.1 gcov-dump-11.1
ln -s ../../../Cellar/gcc/11.2.0/share/man/man1/gcov-tool-11.1 gcov-tool-11.1
ln -s ../../../Cellar/gcc/11.2.0/share/man/man1/gdc-11.1 gdc-11.1
ln -s ../../../Cellar/gcc/11.2.0/share/man/man1/gfortran-11.1 gfortran-11.1
ln -s ../../../Cellar/gcc/11.2.0/share/man/man1/lto-dump-11.1 lto-dump-11.1
ln -s ../../../Cellar/gcc/11.2.0/share/man/man7/fsf-funding-11.7 fsf-funding-11.7
ln -s ../../../Cellar/gcc/11.2.0/share/man/man7/gfdl-11.7 gfdl-11.7
ln -s ../../../Cellar/gcc/11.2.0/share/man/man7/gpl-11.7 gpl-11.7
ln -s ../Cellar/gcc/11.2.0/lib/gcc gcc
39 symlinks created.
I also have Gcc installed but it does not interfere with the rest of the system. It seems your math.h
came from some other source rather than from brew.
Best way to proceed in my point of view is to remove homebrew and every dependency. Install command line tools first and then install homebrew again.
Hi,
I am trying to install OpenFOAM v1912/v2006, when I try to source the
bashrc
, I get this messageAfter that the compilation fails mostly in the start
I am able to install OpenFOAMv8 using the same drive and the installation guide.
Any ideas what is going wrong here?