--- clang-14.log 2022-11-02 22:36:17.905748020 +1100 +++ clang-15.log 2022-11-02 22:36:17.905748020 +1100 @@ -10,10 +10,7 @@ config.eE9KQZ/dbtest.c:3:10: fatal error: 'db_185.h' file not found #include ^~~~~~~~~~ -config.eE9KQZ/strtest.c:4:2: warning: call to undeclared library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] +config.eE9KQZ/strtest.c:4:2: error: call to undeclared library function 'strlcpy' with type 'unsigned long (char *, const char *, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration] strlcpy(dst, "test", sizeof(dst)); ^ config.eE9KQZ/strtest.c:4:2: note: include the header or explicitly provide a declaration for 'strlcpy' -/usr/bin/x86_64-pc-linux-gnu-ld: config.eE9KQZ/strtest-11cd75.o: in function `main': -strtest.c:(.text+0x16): undefined reference to `strlcpy' -clang-15: error: linker command failed with exit code 1 (use -v to see invocation)