[MacPorts] #72248: gwenhywfar5 @5.12.0: Build failure
MacPorts
noreply at macports.org
Thu Mar 27 08:17:37 UTC 2025
#72248: gwenhywfar5 @5.12.0: Build failure
--------------------------+----------------------
Reporter: coditect | Owner: drkp
Type: defect | Status: accepted
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Resolution: | Keywords:
Port: gwenhywfar5 |
--------------------------+----------------------
Comment (by ryandesign):
The errors I see in the log are:
{{{
libtest.m:57:2: error: call to undeclared function 'test1'; ISO C99 and
later do not support implicit function declarations [-Wimplicit-function-
declaration]
57 | test1();
| ^
libtest.m:88:6: error: call to undeclared function 'Cocoa_Gui_new'; ISO
C99 and later do not support implicit function declarations [-Wimplicit-
function-declaration]
88 | gui=Cocoa_Gui_new();
| ^
libtest.m:88:5: error: incompatible integer to pointer conversion
assigning to 'GWEN_GUI *' (aka 'struct GWEN_GUI *') from 'int' [-Wint-
conversion]
88 | gui=Cocoa_Gui_new();
| ^~~~~~~~~~~~~~~~
libtest.m:93:6: error: call to undeclared function 'Dlg_Test1_new'; ISO
C99 and later do not support implicit function declarations [-Wimplicit-
function-declaration]
93 | dlg=Dlg_Test1_new();
| ^
libtest.m:93:5: error: incompatible integer to pointer conversion
assigning to 'GWEN_DIALOG *' (aka 'struct GWEN_DIALOG *') from 'int'
[-Wint-conversion]
93 | dlg=Dlg_Test1_new();
| ^~~~~~~~~~~~~~~~
}}}
{{{
In file included from cocoa_gui_dialog.m:53:
./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;
| ^
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./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/72248#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list