bug-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [patch #4206] libobjc: Extend protocol hack to all gcc versions


From: Andrew Pinski
Subject: Re: [patch #4206] libobjc: Extend protocol hack to all gcc versions
Date: Tue, 26 Jul 2005 13:21:53 -0400 (EDT)

> 
> 
> Follow-up Comment #1, patch #4206 (project gnustep):
> 
> HA! I found the real problem, and have undid this icky hack.
> 
> It was a complex situation.  You had to have 2 protocols, where the first one
> was used by a class, and the second was not.  Also you had to have a Category
> which implemented a protocol which inherited from a protocol not used by any
> class, and the protocol had to not be the first one in the module symbol
> table.
> 
> whew.
> 
> In any case, this new patch deals with this.
> 
> 2 changes, 
> 1) we need to initalize all statics, even if the first one is initalized.
> 2) we need to call __objc_init_protocols on the super-protocols even if the
> protocol itself is initialized.

libobjc is part of GCC, could you submit a GCC bug as attach the patch there.
Please make sure that you have a testcase.

Thanks,
Andrew Pinski
a libobjc maintainer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]