https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: www-client/w3mmee-0.3.2_p24-r12 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 843955 [details] build.log build log and emerge --info
Error(s) that match a know pattern in addition to what has been reported in the summary: main.c:695:12: warning: passing arguments to 'newHist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main.c:696:12: warning: passing arguments to 'newHist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main.c:697:12: warning: passing arguments to 'newHist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main.c:698:12: warning: passing arguments to 'newHist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main.c:699:12: warning: passing arguments to 'newHist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] main.c:700:12: warning: passing arguments to 'newHist' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] table.c:2058:20: warning: passing arguments to 'Strnew' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype] etc.c:927:1: error: conflicting types for 'strerror'
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfdebbfb4e686ab2ffe9d86e6ffe71230d59517a commit dfdebbfb4e686ab2ffe9d86e6ffe71230d59517a Author: Z. Liu <zhixu.liu@gmail.com> AuthorDate: 2025-02-24 09:25:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-03-10 03:00:25 +0000 www-client/w3mmee: fix build failure on modern compiler 0. update to EAPI 8 1. w3mmee-boehm-gc.patch is merged into w3mmee-configure.patch 2. fix errors and warnings reported by modern compiler 3. fix QA warning on uninitialized variable 4. fix error on -Wincompatible-pointer-types Closes: https://bugs.gentoo.org/875125 Closes: https://bugs.gentoo.org/883735 Closes: https://bugs.gentoo.org/887329 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/40730 Signed-off-by: Sam James <sam@gentoo.org> www-client/w3mmee/files/w3mmee-configure.patch | 773 +++++++++++++++++++++++++ www-client/w3mmee/files/w3mmee-display.patch | 26 + www-client/w3mmee/files/w3mmee-linein.patch | 23 + www-client/w3mmee/w3mmee-0.3.2_p24-r13.ebuild | 160 +++++ 4 files changed, 982 insertions(+)