|
From: | Scott Christley |
Subject: | Re: [Swarm-Support] update target in FCall during make |
Date: | Fri, 28 Jul 2006 14:19:05 -0400 |
Ken, The GCC version you are using is being more strict about the declaration matching the definition. What you can do is update the code in FCall.h to use the id data type: void updateTarget (id s, id target); Then change the code in FCall.m and perform a cast, like this: void updateTarget (id s, id target) { FCall_c *self = (FCall_c *)s; Alternatively, maybe you can move the declaration in FCall.h to be at the end of the file, after @interface FCall_c ... @end. I thought maybe I tried this and it created an error elsewhere. The second error you got after making the change is because GCC does not know about the FCall_c class, because FCall_c is defined just below that declaration in the file. cheers Scott On Jul 28, 2006, at 1:44 PM, Kenichi W Okamoto wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |