GNOME Bugzilla – Bug 332646
64bit cleanup to gnucash-1.8.11
Last modified: 2018-06-29 20:58:36 UTC
Please describe the problem: Some 64bit compilation cleanups. Detailed & patched in Gentoo here: http://bugs.gentoo.org/show_bug.cgi?id=124167 The following warnings were encountered while building on an amd64: /var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11/src/gnome-utils/dialog-account.c dialog-account.c:1328: warning: cast to pointer from integer of different size Fixed /var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11/src/gnome-utils/gnc-html.c gnc-html.c:1338: warning: passing arg 2 of Gtk_html_save' from incompatible pointer type Fixed /var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11/src/gnome/dialog-sxsincelast.c /var/tmp/portage/gnucash-1.8.11/work/gnucash-1.8.11/src/gnome/window-acct-tree.c window-acct-tree.c:98: warning: cast to pointer from integer of different size This isn't really an error but just the way callbacks & functions as parameters work with gtk. :/ window-acct-tree.c:424: warning: cast to pointer from integer of different size This isn't really an error but just the way callbacks & functions as parameters work with gtk. :/ Steps to reproduce: 1. Compile it on amd64 2. 3. Actual results: Warnings occur Expected results: Does this happen every time? Other information: There is a patch attached to the Gentoo bug that fixes 2 of 4 issues.
Created attachment 60165 [details] [review] Fixes 2 of 4 issues.
Thanks for the bug report. However, the version you are using is no longer maintained. In particular, there will be no further 1.8.x release, so nothing will be fixed in that old branch. All development focuses on the upcoming 2.0.0 release, especially since an unstable 1.9.1 is already released. Thank you for the patch, but I'm afraid we can't make any use of it. For compilation purposed I'd simply suggest you should use --disable-error-on-warning so that the compiler warnings won't stop your compile. And of course the gentoo bug system might be a good place to offer these patches for people who still need it.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=332646. Please update any external references or bookmarks.