[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]
MacPorts
noreply at macports.org
Tue Mar 18 15:11:36 UTC 2025
#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 |
---------------------+-----------------------
Comment (by mcquiggi):
Hi All:
I was able to fix this by adding a casting to line 3931 of getline.c, as
noted in the error message above:
Old line 3931 (getline.c): tputs((char *)string, nline,
gl_tputs_putchar);
Revision: tputs((char *)string, nline, (int * ) &gl_tputs_putchar);
This resolved the build issue.
** I am not a GitHub expert/user, so if the assigned bug person reads
this, here is a potential fix!!! **
Sorry I can't do the ""pull" et cetera myself but I would like break many
other things!
Kevin
--
Ticket URL: <https://trac.macports.org/ticket/71092#comment:11>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list