--- clang-14.log 2022-11-02 22:36:17.190750317 +1100 +++ clang-15.log 2022-11-02 22:36:17.191750314 +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 @@ -28,7 +28,7 @@ 2 errors generated. -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(0); ^ ignoreme: note: include the header or explicitly provide a declaration for 'exit'