This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: Yet another ObjC-ish "hook" in c-decl.c
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Ziemowit Laski <zlaski at apple dot com>
- Cc: GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Thu, 02 Sep 2004 16:01:43 -0700
- Subject: Re: PATCH: Yet another ObjC-ish "hook" in c-decl.c
- References: <BA6908BC-FD32-11D8-8F6E-000393673036@apple.com>
Ziemowit Laski <zlaski@apple.com> writes:
> A recent modification to store_parm_decls() broke the ongoing ObjC
> integration again :-(. In its new form, store_parm_decls() is no
> longer usable from ObjC, because it dereferences the newfangled
> 'current_function_arg_info' static variable, which only
> grokdeclarator() sets. The new objc-act.c no longer calls any of the
> grok...() functions, since it no longer deals in raw declspec goo.
>
> So, I introduce process_parm_decls(), which future ObjC will call
> instead of store_parm_decls(). I'm inclined to commit this as obvious
> since this solves ObjC's problems and cannot possibly cause any
> problems for C, but I'll wait a short while for people's thoughts, if
> any.
Better you should export store_parm_decls_newstyle and use that from
objc-act.c.
zw