[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: Fri, 13 Dec 2024 11:53:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281238

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

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

commit c6132acf5a4df3c177bf89802f380630f2ddd743
Author:     Alexey Dokuchaev <danfe@FreeBSD.org>
AuthorDate: 2024-12-13 11:53:06 +0000
Commit:     Alexey Dokuchaev <danfe@FreeBSD.org>
CommitDate: 2024-12-13 11:53:06 +0000

    lang/gforth: mend another tricky issue discovered with GCC 14

    When checking whether the linker accepts -export-dynamic flag,
    the configure script tries to build, literally, the following
    short program: ``main(){exit(0);}'', which is not well-formed
    against the modern standards (missing return type and implicit
    function declaration).

    PR:     281238

 lang/gforth/files/patch-configure (new) | 12 ++++++++++++
 1 file changed, 12 insertions(+)

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