tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: devel/ncurses fails to build (C++ issue)



Hi,

On Tue, 5 Aug 2025 21:49:11 +0200
Benny Siegert <bsiegert%gmail.com@localhost> wrote:

> When I try to build devel/ncurses from pkgsrc-current on Fedora Linux 
> (with gcc 15.1.1), I get a whole bunch of C++ errors in the C++ bindings:

It is actually not a C++ problem, but a C problem.
This is caused by GCC 15 using C23 and that breaks ncurses configure test
for stdbool.h, which then makes other things go awry.

You can fix it with:
FORCE_C_STD=            gnu99

I didn't commit it because I wanted to see if the upstream was going to do
anything about this, but looks like no new release yet.

-Tobias


Home | Main Index | Thread Index | Old Index