Opened 19 months ago

Last modified 6 weeks ago

#71058 assigned defect

gwenhywfar4 @4.20.2: 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: sonoma sequoia tahoe 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 (1)

comment:1 Changed 6 weeks ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sonoma tahoe added
Summary: gwenhywfar4: error: incompatible function pointer typesgwenhywfar4 @4.20.2: error: incompatible function pointer types
Note: See TracTickets for help on using tickets.