GNOME Bugzilla – Bug 595017
compiler complaints about incompatible pointer types in gnc-gwen-gui.c
Last modified: 2018-06-29 22:28:22 UTC
Created attachment 143078 [details] [review] resolve incompatible pointer type warnings Apple's gcc 4.2.1 warns: cc1: warnings being treated as errors gnc-gwen-gui.c: In function 'register_callbacks': gnc-gwen-gui.c:313: warning: passing argument 2 of 'GWEN_Gui_SetProgressStartFn' from incompatible pointer type gnc-gwen-gui.c:314: warning: passing argument 2 of 'GWEN_Gui_SetProgressAdvanceFn' from incompatible pointer type make[5]: *** [gnc-gwen-gui.lo] Error 1 Based on warlord's advice, the following patch calms the compiler. But the patch should be carefully reviewed, though, since I'm only marginally qualified to do such edits.
Patch looks right to me.
Comment on attachment 143078 [details] [review] resolve incompatible pointer type warnings r18313
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=595017. Please update any external references or bookmarks.