Created attachment 240406 [details] Use -Wno-int-conversion flag As reported by José Pérez on the freebsd-ports list, editors/uemacs fails to build on 14.0-CURRENT 1400079, due to Clang 15 treating implicit pointer/integer conversions as errors. This patch uses the -Wno-int-conversion compiler flag as suggested by Dimitry Andric, treating the conversion as a warning like previous versions of Clang.
Strongly consider removing -Werror instead of adding more warning flags.
(In reply to Robert Clausecker from comment #1) I don't believe -Werror is set anywhere in the uemacs source, nor the port's Makefile.
(In reply to mail from comment #2) Ah yes I see, thank you for the explanation.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3c426844b505ca60455f52608fe27dceef5e9d82 commit 3c426844b505ca60455f52608fe27dceef5e9d82 Author: Andrew Clarke <mail@ozzmosis.com> AuthorDate: 2023-03-02 16:27:05 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2023-03-03 21:31:09 +0000 editors/uemacs: fix build with LLVM 15 Silence -Wint-conversion to have the build succeed. PR: 269822 Approved by: eduardo (mentor) Differential Revision: https://reviews.freebsd.org/D38871 editors/uemacs/Makefile | 2 ++ 1 file changed, 2 insertions(+)
Thank you for your contribution.