gcc 4

Derek Atkins warlord at MIT.EDU
Wed Sep 28 16:49:18 EDT 2005


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

> On Wednesday 28 September 2005 9:07 pm, Derek Atkins wrote:
>> Quoting Neil Williams <linux at codehelp.co.uk>:
>> > (Only mentioning it here because there's so much else in the next
>> > commit - the
>> > logging ID change has meant patches to C files all over the tree,
>> > probably more than 100).
>>
>> I'm hoping this change is just a one-line change from "short int" to
>> QofModuleName -- right?
>
> static short module = MOD_BACKEND;
> becomes
> static gchar* log_module = GNC_MOD_BACKEND;
>
> Didn't see the need for another typedef.

The new typedef saves us from having to made the same pervasive set
of changes sometime in the future.  Not that we necessarily need to,
but if we're going through the effort to change it, might as well
do it right.  :)

-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-devel mailing list