Frederic Leroy's update to Dan Widyono's patch to compile cleanly on 64

Derek Atkins warlord at MIT.EDU
Tue Aug 16 08:31:13 EDT 2005


Neil Williams <linux at codehelp.co.uk> writes:

> On Tuesday 16 August 2005 1:13 am, David Hampton wrote:
>> Log Message:
>> -----------
>> Frederic Leroy's update to Dan Widyono's patch to compile cleanly on 64
>> bit systems.
>
> A lot of this replaces "%lld" with "%" G_GINT64_FORMAT but not all the 
> incidences of "%lld" have been changed.
>
> gnc-numeric.c, kvp_frame.c, qofmath128.c, qofquery-serialize.c, qofsql.c and 
> TransLog.c where unchanged and that's just in src/engine.
>
> I'm curious - why would some be OK and some not? 

Because some might be using "long long" specifically while others are
using GINT64?

> Do the others need to be changed as well? 

Not necessarily.

> Would it be a good idea to change them anyway?

Not necessarily.

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available


More information about the gnucash-patches mailing list