more info on G_INLINE_FUNC problem on OS X

David Reiser dbreiser at earthlink.net
Sun Nov 11 17:16:10 EST 2007


On Nov 11, 2007, at 2:36 PM, Derek Atkins wrote:

> What happens if you just remove the declaration from SplitP.h?
> The problem appears to be that it's used in both Split.c and
> Transaction.c, so it probably shouldn't be inline or static.
>
> -derek

Following Andreas' suggestion from irc lasts nignt, I took out the  
G_INLINE_FUNC and left the void...

So far it has worked for both ppc and intel Macs.

Thanks.
>
>
> David Reiser <dbreiser at earthlink.net> writes:
>
>> The line is
>> G_INLINE_FUNC void mark_split (Split *s);
>>
>> in SplitP.h in the engine directory. The problem is that the Mac OS X
>> 10.5 devel tools are handling this differently than previous  
>> versions,
>> in concert with glib (the source of G_INLINE_FUNC). The solution,
>> suggested on irc was to delete G_INLINE_FUNC and see what happened.  
>> It
>> works for me and two other people who reported the problem. So unless
>> there's a compelling reason to want the inline function be inline,  
>> I'm
>> happy to leave it patched out.
>>
>>
Dave
--
David Reiser
dbreiser at earthlink.net






More information about the gnucash-devel mailing list