Opened 7 hours ago

#71058 assigned defect

gwenhywfar4: error: incompatible function pointer types

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.10.2
Keywords: sequoia Cc:
Port: gwenhywfar4

Description

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;
      |                                       ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Change History (0)

Note: See TracTickets for help on using tickets.