[MacPorts] #71092: tecla @1.6.3: error: incompatible function pointer types passing 'TputsRetType (TputsArgType)' (aka 'void (int)') to parameter of type 'int (*)(int)' [-Wincompatible-function-pointer-types] (was: tecla: Fetch failure)
MacPorts
noreply at macports.org
Sun Oct 13 16:36:51 UTC 2024
#71092: tecla @1.6.3: error: incompatible function pointer types passing
'TputsRetType (TputsArgType)' (aka 'void (int)') to parameter of type 'int
(*)(int)' [-Wincompatible-function-pointer-types]
---------------------+-----------------------
Reporter: 2-of-1 | Owner: michaelld
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version:
Resolution: | Keywords: sequoia
Port: tecla |
---------------------+-----------------------
Changes (by ryandesign):
* keywords: sonoma => sequoia
Comment:
Ok, so the failure to fetch precompiled archives is not the bug; see
#60756. The real problem is that the port doesn't build:
{{{
./getline.c:3931:34: error: incompatible function pointer types passing
'TputsRetType (TputsArgType)' (aka 'void (int)') to parameter of type 'int
(*)(int)' [-Wincompatible-function-pointer-types]
3931 | tputs((char *)string, nline, gl_tputs_putchar);
| ^~~~~~~~~~~~~~~~
/opt/local/include/term.h:848:60: note: passing argument to parameter here
848 | extern NCURSES_EXPORT(int) tputs (const char *, int, int
(*)(int));
| ^
1 error generated.
}}}
Just to get the correct info into the bug: You said you're using macOS
Sonoma but the log shows macOS 15 which is Sequoia.
--
Ticket URL: <https://trac.macports.org/ticket/71092#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list