[MacPorts] #71058: gwenhywfar4: error: incompatible function pointer types

MacPorts noreply at macports.org
Tue Oct 8 08:04:18 UTC 2024


#71058: gwenhywfar4: error: incompatible function pointer types
------------------------+-------------------------
 Reporter:  ryandesign  |      Owner:  drkp
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.10.2
 Keywords:  sequoia     |       Port:  gwenhywfar4
------------------------+-------------------------
 https://build.macports.org/builders/ports-
 15_x86_64-builder/builds/7366/steps/install-port/logs/stdio
 {{{
 ./w_combobox.mm:275:22: error: incompatible function pointer types
 initializing 'gwenPopUpActionPtr' (aka 'void (*)(NSPopUpButton *, void
 *)') with an expression of type 'void (NSControl *, void *)'
 [-Wincompatible-function-pointer-types]
   275 |                 gwenPopUpActionPtr ptr =
 CocoaGui_WComboBox_Changed_handler;
       |                                    ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 5 warnings generated.
 ./w_combobox.mm:287:25: error: incompatible function pointer types
 initializing 'gwenComboBoxActionPtr' (aka 'void (*)(NSComboBox *, void
 *)') with an expression of type 'void (NSControl *, void *)'
 [-Wincompatible-function-pointer-types]
   287 |                 gwenComboBoxActionPtr ptr =
 CocoaGui_WComboBox_Changed_handler;
       |                                       ^
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/71058>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list