bug-gnustep
[Top][All Lists]
Advanced

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

Re: [bug #4189] broken bycopy in DO


From: Alexander Malmberg
Subject: Re: [bug #4189] broken bycopy in DO
Date: Fri, 04 Jul 2003 15:48:34 +0200

Richard Frith-Macdonald wrote:
[snip]
> This *is* an issue preventing you from  using setProtocolForProxy: in
> some
> sotuations in code built with an olk compiler [snip]

NSDistributedNotificationCenter is such a situation. I've attached a
patch that works around it. Not pretty, but things seem to work now
(better, at least; there are a couple of "Changed type signature"
warnings, and a few slightly odd details).

- Alexander Malmberg
Index: Source/NSDistributedNotificationCenter.m
===================================================================
RCS file: 
/cvsroot/gnustep/gnustep/core/base/Source/NSDistributedNotificationCenter.m,v
retrieving revision 1.26
diff -u -r1.26 NSDistributedNotificationCenter.m
--- Source/NSDistributedNotificationCenter.m    7 Jun 2003 01:24:40 -0000       
1.26
+++ Source/NSDistributedNotificationCenter.m    4 Jul 2003 13:44:41 -0000
@@ -688,3 +688,14 @@
 
 @end
 
+
+
+/*
+This works around a problam with @protocol() in versions of gcc before
+3.3.
+*/
+@interface GSDummyClassWithGDNCProtocol : NSObject <GDNCProtocol>
+@end
+
+@implementation GSDummyClassWithGDNCProtocol
+@end

reply via email to

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