--- clang-14.log 2022-11-02 22:36:18.517746061 +1100 +++ clang-15.log 2022-11-02 22:36:18.518746058 +1100 @@ -3,19 +3,17 @@ -./conf43-21-1.c:1:13: warning: call to undeclared function 'pthread_create'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +./conf43-21-1.c:1:13: error: call to undeclared function 'pthread_create'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] int main(){ pthread_create(0, 0, (void*(*)(void*))0, 0); ;} ^ /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -ll: No such file or directory -clang-15: error: linker command failed with exit code 1 (use -v to see invocation) +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -ly: No such file or directory -clang-15: error: linker command failed with exit code 1 (use -v to see invocation) -./conf43-21-1.c:1:13: warning: call to undeclared function 'listen'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +clang-14: error: linker command failed with exit code 1 (use -v to see invocation) +./conf43-21-1.c:1:13: error: call to undeclared function 'listen'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] int main(){ listen(0, 0); ;} ^ -/usr/bin/x86_64-pc-linux-gnu-ld: cannot find -lxnet: No such file or directory -clang-15: error: linker command failed with exit code 1 (use -v to see invocation) -./conf43-21-1.c:1:13: warning: call to undeclared function 'dlclose'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +./conf43-21-1.c:1:13: error: call to undeclared function 'dlclose'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] int main(){ dlclose(0); ;} ^