commit 40ea7b163e15d70788aa7a8189f9000109a7b931 from: Omar Polo date: Wed Apr 03 14:03:42 2024 UTC use -Werror=implicit-function-declaration for function detection the previous -Werror triggers too easily: on NixOS for example the FORTIFY_SOURCE #warning about a missing optimization level breaks all the checks when using -O0 (which is the default for non-release builds). commit - be265175c65f1b5425e294b06874e87aa900bde1 commit + 40ea7b163e15d70788aa7a8189f9000109a7b931 blob - 9f0dc5475fc5ce63eadc8648e8a908c52d52bb9f blob + ae7fc40abe2957fbf05f3359c32c9c379d64ac78 --- configure +++ configure @@ -146,7 +146,7 @@ NEED_OPENBSD_SOURCE=0 NEED_LIBBSD_OPENBSD_VIS=0 COMPATS= -COMP="${CC} ${CFLAGS} -Wno-unused -Werror" +COMP="${CC} ${CFLAGS} -Werror=implicit-function-declaration" # singletest name var extra-cflags extra-libs msg singletest() {