--- clang-14.log 2022-11-02 22:36:12.073766874 +1100 +++ clang-15.log 2022-11-02 22:36:12.073766874 +1100 @@ -1,16 +1,16 @@ tests.c:16:10: error: call to undeclared function 'arc4random'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return (arc4random() + 1) ? 0 : 1; ^ -/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/lowdown-0.11.2/temp/tests-bc02c0.o: in function `main': +/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/lowdown-0.11.2/temp/tests-eddb45.o: in function `main': tests.c:(.text+0x1c): 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) tests.c:33:10: fatal error: 'sys/capsicum.h' file not found #include ^~~~~~~~~~~~~~~~ -/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/lowdown-0.11.2/temp/tests-af5195.o: in function `main': +/usr/bin/x86_64-pc-linux-gnu-ld: /var/tmp/portage/app-text/lowdown-0.11.2/temp/tests-4503b4.o: in function `main': tests.c:(.text+0x10): undefined reference to `crypt' -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) tests.c:102:2: error: call to undeclared function 'warnc'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] @@ -127,7 +127,7 @@ tests.c:627:10: fatal error: 'sys/tree.h' file not found #include ^~~~~~~~~~~~ -tests.c:672:15: error: call to undeclared function 'unveil'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] +tests.c:672:14: error: call to undeclared function 'unveil'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] return -1 != unveil(NULL, NULL); ^