--- clang-14.log 2022-11-02 22:36:11.500768728 +1100 +++ clang-15.log 2022-11-02 22:36:11.501768725 +1100 @@ -1,4 +1,4 @@ -/tmp/ngc39.c:2:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +/tmp/ngc39.c:2:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() ^ int @@ -7,81 +7,68 @@ main() ^ int -clang-15: error: no such file or directory: '/tmp/ngc39.o' -/tmp/ngc39.c:3:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +clang-14: error: no such file or directory: '/tmp/ngc39.o' +/tmp/ngc39.c:3:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() { } ^ int -/tmp/ngc39.c:1:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +/tmp/ngc39.c:1:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() ^ int -/tmp/ngc39.c:3:5: warning: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/tmp/ngc39.c:3:5: error: call to undeclared function 'basename'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] basename(); ^ -2 warnings generated. -/tmp/ngc39.c:3:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +2 errors generated. +/tmp/ngc39.c:3:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() { } ^ int -/tmp/ngc39.c:3:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +/tmp/ngc39.c:3:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() { } ^ int -/tmp/ngc39.c:1:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +/tmp/ngc39.c:1:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() ^ int -/tmp/ngc39.c:3:5: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/tmp/ngc39.c:3:5: error: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] tgetent(); ^ -2 warnings generated. -/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-editors/levee-3.5a/temp/ngc39-dd2329.o: in function `main': -ngc39.c:(.text+0x4): undefined reference to `tgetent' -clang-15: error: linker command failed with exit code 1 (use -v to see invocation) -/tmp/ngc39.c:1:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +2 errors generated. +/tmp/ngc39.c:1:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() ^ int -/tmp/ngc39.c:3:5: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/tmp/ngc39.c:3:5: error: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] tgetent(); ^ -2 warnings generated. -/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-editors/levee-3.5a/temp/ngc39-f36832.o: undefined reference to symbol 'tgetent' -/usr/bin/x86_64-pc-linux-gnu-ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line -clang-15: error: linker command failed with exit code 1 (use -v to see invocation) -/tmp/ngc39.c:1:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +2 errors generated. +/tmp/ngc39.c:1:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() ^ int -/tmp/ngc39.c:3:5: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/tmp/ngc39.c:3:5: error: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] tgetent(); ^ -2 warnings generated. -/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-editors/levee-3.5a/temp/ngc39-0b8605.o: undefined reference to symbol 'tgetent' -/usr/bin/x86_64-pc-linux-gnu-ld: /lib64/libtinfo.so.6: error adding symbols: DSO missing from command line -clang-15: error: linker command failed with exit code 1 (use -v to see invocation) -/tmp/ngc39.c:1:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +2 errors generated. +/tmp/ngc39.c:1:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() ^ int -/tmp/ngc39.c:3:5: warning: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/tmp/ngc39.c:3:5: error: call to undeclared function 'tgetent'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] tgetent(); ^ -2 warnings generated. -/usr/bin/x86_64-pc-linux-gnu-ld: cannot find -ltermcap: No such file or directory -clang-15: error: linker command failed with exit code 1 (use -v to see invocation) -/tmp/ngc39.c:3:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +2 errors generated. +/tmp/ngc39.c:3:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() { } ^ int -/tmp/ngc39.c:1:1: warning: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] +/tmp/ngc39.c:1:1: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Werror,-Wimplicit-int] main() ^ int -/tmp/ngc39.c:3:5: warning: call to undeclared function 'tcgetattr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +/tmp/ngc39.c:3:5: error: call to undeclared function 'tcgetattr'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] tcgetattr(); ^ -2 warnings generated. -/usr/bin/x86_64-pc-linux-gnu-ld: cannot find -ltermcap: No such file or directory -clang-15: error: linker command failed with exit code 1 (use -v to see invocation) +2 errors generated.