https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: sci-visualization/grace-5.1.25_p13-r1 fails to compile (CLANG-STRICTER-SYSTEM). Discovered on: amd64 (internal ref: clang-stricter_tinderbox) NOTE: (CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types See also: https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240 https://wiki.gentoo.org/wiki/Modern_C_porting
Created attachment 843357 [details] build.log build log and emerge --info
Created attachment 843359 [details] 1-config.log 1-config.log
conftest.c: In function 'main': conftest.c:112:9: error: implicit declaration of function 'XmRegisterConverters'; did you mean 'XtRegisterCaseConverter'? [-Werror=implicit-function-declaration] 112 | XmRegisterConverters(); | ^~~~~~~~~~~~~~~~~~~~ | XtRegisterCaseConverter conftest.c:115:11: error: implicit declaration of function 'exit' [-Werror=implicit-function-declaration] 115 | exit(1); | ^~~~ conftest.c:109:1: note: include '<stdlib.h>' or provide a declaration of 'exit' 108 | #include <Xm/XmAll.h> +++ |+#include <stdlib.h> 109 | int main(void) {
gcc14_tinderbox has reproduced this issue with version 5.1.25_p13-r2 - Updating summary.