GNOME Bugzilla – Bug 302600
[PATCH]64 bit compilation errors
Last modified: 2018-06-29 20:51:38 UTC
Version details: g2 branch Distribution/Version: RHEL4 clone try to compile from CVS g2 branch on a 64-bit system, it should compile, it bails on lots of lines for three different reasons, patch included.
patch *to be included RSN*, that should have said. I don't know how many more of these monsters will rear their ugly heads, and I'm still fixing them one by one.
Created attachment 45891 [details] [review] allows compilation on 64-bit systems 3 classes "fixed": 1. pointer to int and vice-versa conversion wrapped with GPOINTER_TO_INT et al. 2. printf format string "%lld" --> "%" G_GINT64_FORMAT 3. maximum 64-bit signed value from 10000000LL * MAX_LONG --> G_GINT64_CONSTANT(-2^31) * G_GINT64_CONSTANT(2^31) (thanks to warlord for these ideas) compiles, runs
Created attachment 50419 [details] [review] Update to previous attachment Thanks to you, I can now use gnucash This is an update of the previous attachment made on yesterday g2 cvs Work on linux gentoo ppc64
thanks for sending in. Confirming so that developers will have a look at it.
Added "PATCH" keyword so it will show up.
Thanks for the patches.
GnuCash bug tracking has moved to a new Bugzilla host. This bug has been copied to https://bugs.gnucash.org/show_bug.cgi?id=302600. Please update any external references or bookmarks.