[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] (was: Togl-2.0: Failed to build with Xcode 16)

MacPorts noreply at macports.org
Sat Sep 28 19:41:41 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):

 * keywords:   => sequoia


Comment:

 Replying to [ticket:70956 arai-kai]:
 > I am unsure whether it has something to do with Togl vs Togl-2.0
 versions.

 I am not yet running macOS 15 but I tried building Togl-2.0 @2.0 on macOS
 12 with MacPorts clang-18 and it failed as you described, but Togl @2.1
 built fine. This suggests there may be a fix in Togl @2.1 that can be
 backported to Togl-2.0 @2.0.

-- 
Ticket URL: <https://trac.macports.org/ticket/70956#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list