--- clang-14.log 2022-11-02 22:36:16.027754080 +1100 +++ clang-15.log 2022-11-02 22:36:16.027754080 +1100 @@ -1,22 +1,22 @@ -clang version 15.0.1 +clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix -InstalledDir: /usr/lib/llvm/15/bin -clang version 15.0.1 +InstalledDir: /usr/lib/llvm/14/bin +clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix -InstalledDir: /usr/lib/llvm/15/bin +InstalledDir: /usr/lib/llvm/14/bin Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64 -clang-15: error: unsupported option '-V -o' -clang-15: error: no such file or directory: 'garbage' -clang-15: error: no input files -clang-15: error: unknown argument '-qversion'; did you mean '--version'? -clang-15: error: no input files -clang-15: error: unknown argument '-version'; did you mean '--version'? -clang-15: error: no input files +clang-14: error: unsupported option '-V -o' +clang-14: error: no such file or directory: 'garbage2' +clang-14: error: no input files +clang-14: error: unknown argument '-qversion'; did you mean '--version'? +clang-14: error: no input files +clang-14: error: unknown argument '-version'; did you mean '--version'? +clang-14: error: no input files @@ -44,23 +44,23 @@ ^~~~~~~~~ -clang version 15.0.1 +clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix -InstalledDir: /usr/lib/llvm/15/bin -clang version 15.0.1 +InstalledDir: /usr/lib/llvm/14/bin +clang version 14.0.1 Target: x86_64-pc-linux-gnu Thread model: posix -InstalledDir: /usr/lib/llvm/15/bin +InstalledDir: /usr/lib/llvm/14/bin Selected GCC installation: /usr/lib/gcc/x86_64-pc-linux-gnu/11.3.0 Candidate multilib: .;@m64 Candidate multilib: 32;@m32 Selected multilib: .;@m64 -clang-15: error: unsupported option '-V -o' -clang-15: error: unknown argument '-qversion'; did you mean '--version'? -clang-15: error: no input files -clang-15: error: unknown argument '-version'; did you mean '--version'? -clang-15: error: no input files +clang-14: error: unsupported option '-V -o' +clang-14: error: unknown argument '-qversion'; did you mean '--version'? +clang-14: error: no input files +clang-14: error: unknown argument '-version'; did you mean '--version'? +clang-14: error: no input files @@ -122,9 +122,13 @@ -ignoreme: warning: call to undeclared function 'strptime'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +ignoreme: error: call to undeclared function 'strptime'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] int testing (void) { struct tm t; const char *timestr="201201"; return strptime(timestr, "%Y%m", &t) != 0; } ^ +ignoreme: note: did you mean 'strftime'? +/usr/include/time.h:100:14: note: 'strftime' declared here +extern size_t strftime (char *__restrict __s, size_t __maxsize, + ^ @@ -180,16 +184,16 @@ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `arc4random' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `arc4random_uniform' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `setusercontext' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `setusercontext' -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) @@ -242,7 +246,7 @@ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `setusercontext' -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) @@ -275,25 +279,25 @@ ^ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_create' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_destroy' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_zero' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_set' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_clr' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_isset' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `cpuset_size' -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) @@ -311,20 +315,20 @@ ignoreme: note: 'strlcat' is a builtin with type 'unsigned long (char *, const char *, unsigned long)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `strlcat' -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) ignoreme: warning: incompatible redeclaration of library function 'strlcpy' [-Wincompatible-library-redeclaration] char strlcpy (); ^ ignoreme: note: 'strlcpy' is a builtin with type 'unsigned long (char *, const char *, unsigned long)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `strlcpy' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `b64_pton' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `b64_ntop' -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) ignoreme: warning: incompatible redeclaration of library function 'memmove' [-Wincompatible-library-redeclaration] char memmove (); @@ -332,7 +336,7 @@ ignoreme: note: 'memmove' is a builtin with type 'void *(void *, const void *, unsigned long)' /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `setproctitle' -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) @@ -356,22 +360,22 @@ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `EVP_cleanup' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `ERR_load_crypto_strings' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `EVP_MAC_CTX_new' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `EVP_MAC_CTX_set_params' -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: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `EVP_MAC_CTX_get_mac_size' -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) @@ -380,7 +384,7 @@ /usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/net-dns/nsd-4.6.0/temp/conftest.o: in function `main': conftest.c:(.text+0x4): undefined reference to `SSL_get1_peer_certificate' -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)