You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Compiling jlibtool with Clang (c99) yields the following error and 2 warnings:
jlibtool.c:1617:11: warning: call to undeclared function 'strdup'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
tmp = strdup(arg);
^
jlibtool.c:1617:9: error: incompatible integer to pointer conversion assigning to 'char *' from 'int' [-Wint-conversion]
tmp = strdup(arg);
^ ~~~~~~~~~~~
jlibtool.c:2227:2: warning: call to undeclared function 'setenv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
setenv(LD_LIBRARY_PATH_LOCAL, l, 1);
^
Adding -Wno-int-conversion -Wno-implicit-function-declaration to the compiler command silences the error and warnings.
The text was updated successfully, but these errors were encountered:
Compiling jlibtool with Clang (c99) yields the following error and 2 warnings:
Adding
-Wno-int-conversion -Wno-implicit-function-declaration
to the compiler command silences the error and warnings.The text was updated successfully, but these errors were encountered: