[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patch #4206] libobjc: Extend protocol hack to all gcc versions
From: |
Jeremy Bettis |
Subject: |
[patch #4206] libobjc: Extend protocol hack to all gcc versions |
Date: |
Tue, 26 Jul 2005 16:54:43 +0000 |
User-agent: |
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322) |
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.
_______________________________________________________
Additional Item Attachment:
File name: libobjc-diff2.txt Size:2 KB
<http://savannah.gnu.org/patch/download.php?item_id=4206&item_file_id=4921>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/patch/?func=detailitem&item_id=4206>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [patch #4206] libobjc: Extend protocol hack to all gcc versions, Jeremy Bettis, 2005/07/22
- [patch #4206] libobjc: Extend protocol hack to all gcc versions,
Jeremy Bettis <=
- Re: [patch #4206] libobjc: Extend protocol hack to all gcc versions, Andrew Pinski, 2005/07/26
- Re: [patch #4206] libobjc: Extend protocol hack to all gcc versions, Jeremy Bettis, 2005/07/26
- Re: [patch #4206] libobjc: Extend protocol hack to all gcc versions, Andrew Pinski, 2005/07/26
- Re: [patch #4206] libobjc: Extend protocol hack to all gcc versions, Jeremy Bettis, 2005/07/27
- Re: [patch #4206] libobjc: Extend protocol hack to all gcc versions, Andrew Pinski, 2005/07/27
- Re: [patch #4206] libobjc: Extend protocol hack to all gcc versions, Adam Fedor, 2005/07/27
- Re: [patch #4206] libobjc: Extend protocol hack to all gcc versions, Richard Frith-Macdonald, 2005/07/27
- Re: [patch #4206] libobjc: Extend protocol hack to all gcc versions, Jeremy Bettis, 2005/07/27