[MacPorts] #70956: Togl-2.0 @2.0: error: incompatible function pointer types assigning to 'void (*)(Tk_Window, Tk_ClassProcs *, ClientData)' (aka 'void (*)(struct Tk_Window_ *, struct Tk_ClassProcs *, void *)') from 'void (*const)(Tk_Window, const Tk_ClassProcs *, ClientData)' (aka 'void (*const)(struct Tk_Window_ *, const struct Tk_ClassProcs *, void *)') [-Wincompatible-function-pointer-types]
MacPorts
noreply at macports.org
Thu Oct 24 00:29:30 UTC 2024
#70956: Togl-2.0 @2.0: error: incompatible function pointer types assigning to
'void (*)(Tk_Window, Tk_ClassProcs *, ClientData)' (aka 'void (*)(struct
Tk_Window_ *, struct Tk_ClassProcs *, void *)') from 'void
(*const)(Tk_Window, const Tk_ClassProcs *, ClientData)' (aka 'void
(*const)(struct Tk_Window_ *, const struct Tk_ClassProcs *, void *)')
[-Wincompatible-function-pointer-types]
-----------------------+----------------------
Reporter: arai-kai | Owner: dstrubbe
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.10.1
Resolution: | Keywords: sequoia
Port: Togl-2.0 |
-----------------------+----------------------
Changes (by ryandesign):
* cc: sherheroes (added)
Comment:
Has duplicate #71147.
The modification suggested in comment:4 probably needs to happen before
the configure phase runs; if you have already encountered the error during
the build phase, that's too late. You'll probably need to `sudo port clean
Togl-2.0`, then `sudo port patch Togl-2.0`, then make the modification,
then `sudo port build Togl-2.0`.
--
Ticket URL: <https://trac.macports.org/ticket/70956#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list