This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix some Objective-C failures on *-*-darwin* (next runtime)
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Nicola Pero <nicola at brainstorm dot co dot uk>
- Cc: Andrew Pinski <pinskia at physics dot uc dot edu>, gcc-patches at gcc dot gnu dot org
- Date: Thu, 17 Jul 2003 10:34:18 -0400
- Subject: Re: [PATCH] Fix some Objective-C failures on *-*-darwin* (next runtime)
On Thursday, Jul 17, 2003, at 10:13 US/Eastern, Nicola Pero wrote:
Thanks. That's useful.
I think the proper fix for the testcase then is to add forward::, that
is,
adding to the class definitions something like the following
#ifdef __NEXT_RUNTIME__
- (retval_t) forward: (SEL)aSel : (arglist_t)argFrame
{
return nil;
}
#endif
That would be Ok for me.
I had to add and the include for objc/Object.h:
#ifdef __NEXT_RUNTIME__
- forward: (SEL)sel : (marg_list)args;
{
return nil;
}
#endif
I am going to wait for objc-improvements-branch to
happen to do anything further.
Thanks,
Andrew Pinski