--- clang-14.log 2022-11-02 22:36:17.337749842 +1100 +++ clang-15.log 2022-11-02 22:36:17.337749842 +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 @@ -34,23 +34,25 @@ configure:2165:10: fatal error: 'ac_nonexistent.h' file not found #include ^~~~~~~~~~~~~~~~~~ -configure:2236:6: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] +configure:2236:6: error: a function declaration without a prototype is deprecated in all versions of C [-Werror,-Wstrict-prototypes] main () ^ void -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-14: error: unsupported option '-V -o' +clang-14: error: no such file or directory: 'garbage2' +clang-14: error: no input files @@ -162,10 +164,10 @@ void 2 warnings generated. -configure:5080:15: warning: null passed to a callee that requires a non-null argument [-Wnonnull] +configure:5080:14: warning: null passed to a callee that requires a non-null argument [-Wnonnull] getopt(0, 0, 0) ~ ^ -configure:5080:15: warning: null passed to a callee that requires a non-null argument [-Wnonnull] +configure:5080:14: warning: null passed to a callee that requires a non-null argument [-Wnonnull] getopt(0, 0, 0) ~^ 2 warnings generated.