After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 595017 - compiler complaints about incompatible pointer types in gnc-gwen-gui.c
compiler complaints about incompatible pointer types in gnc-gwen-gui.c
Status: RESOLVED FIXED
Product: GnuCash
Classification: Other
Component: Import - AqBanking
git-master
Other Mac OS
: Normal normal
: ---
Assigned To: Christian Stimming
Christian Stimming
Depends on:
Blocks:
 
 
Reported: 2009-09-12 19:34 UTC by David Reiser
Modified: 2018-06-29 22:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
resolve incompatible pointer type warnings (2.59 KB, patch)
2009-09-12 19:34 UTC, David Reiser
committed Details | Review

Description David Reiser 2009-09-12 19:34:24 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.
Comment 1 Derek Atkins 2009-09-14 01:25:04 UTC
Patch looks right to me.
Comment 2 Phil Longstaff 2009-09-14 23:28:25 UTC
Comment on attachment 143078 [details] [review]
resolve incompatible pointer type warnings

r18313
Comment 3 John Ralls 2018-06-29 22:28:22 UTC
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.