Gcc has a libobjc also, but the code I patched was from gnustep's CVS
server, not gcc's.
Let's take one step at a time.
----- Original Message -----
From: "Andrew Pinski" <[EMAIL PROTECTED]>
To: "Jeremy Bettis" <[EMAIL PROTECTED]>
Cc: "Jeremy Bettis" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Tuesday, July 26, 2005 12:21 PM
Subject: Re: [patch #4206] libobjc: Extend protocol hack to all gcc versions
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
_______________________________________________
Bug-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-gnustep