Opened 6 weeks 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
./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; | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Note: See
TracTickets for help on using
tickets.