--- clang-14.log 2022-11-02 22:36:19.417743181 +1100 +++ clang-15.log 2022-11-02 22:36:19.417743181 +1100 @@ -1,18 +1,18 @@ -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-14: error: unsupported option '-V -o' +clang-14: error: no such file or directory: 'garbage2' +clang-14: error: no input files @@ -30,7 +30,7 @@ ; 2 errors generated. /usr/bin/x86_64-pc-linux-gnu-ld: cannot find -le: 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) ignoreme: fatal error: 'ac_nonexistent.h' file not found #include @@ -53,7 +53,7 @@ -ignoreme: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +ignoreme: error: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] exit(2); ^ ignoreme: note: include the header or explicitly provide a declaration for 'exit'