gcc 4

Derek Atkins warlord at MIT.EDU
Wed Sep 28 21:36:55 EDT 2005


Quoting David Hampton <hampton-gnucash at rainbolthampton.net>:

> On Wed, 2005-09-28 at 16:49 -0400, Derek Atkins wrote:
>> Quoting Neil Williams <linux at codehelp.co.uk>:
>>
>> > On Wednesday 28 September 2005 9:07 pm, Derek Atkins wrote:
>> >> 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.  :)
>
> I was going to suggest 'static const gchar *' as the new type, but then
> that sort of proves your point, doesn't it.

Yep. :)

> David

-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