[Bug 281238] lang/gforth: Fails to build with GCC 14: prim:2157:5: error: implicit declaration of function 'ecvt' [-Wimplicit-function-declaration]

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 10 Sep 2024 05:25:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281238

--- Comment #3 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=2cab4551df7cf66a0c377f2d53f692f9ddd5f8c9

commit 2cab4551df7cf66a0c377f2d53f692f9ddd5f8c9
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-09-10 05:23:20 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-09-10 05:23:20 +0000

    lang/gforth: unbreak the build in the -Werror=int-conversion mode

    Missing ecvt() function prototype was causing couple of warnings
    which had become hard errors with recent versions of GCC (14+).
    Getting rid of USE_GCC, while desirable, is not straightforward
    and requires more work.  While here, set the TEST_TARGET which is
    part of the upstream's default ALL_TARGET, but we override that.

    PR:     281238

 lang/gforth/Makefile                         |  2 +-
 lang/gforth/files/patch-engine_forth.h (new) | 11 +++++++++++
 2 files changed, 12 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.