This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH: ObjC Front-End Cleanup
- To: Ziemowit Laski <zlaski at apple dot com>
- Subject: Re: PATCH: ObjC Front-End Cleanup
- From: Stan Shebs <shebs at apple dot com>
- Date: Wed, 03 Oct 2001 15:26:16 -0700
- CC: gcc-patches at gcc dot gnu dot org
- References: <BECB8FD5-B46B-11D5-A0DB-0030658361CA@apple.com>
Ziemowit Laski wrote:
>
> Hi all,
>
> This patch serves to clean up the Objective-C front-end in
> various ways: hoist stuff to headers, remove unused or
> duplicate variables, etc. The patch does not introduce any
> functional changes to Objective-C, though it paves the way
> for fixes that will.
Thanks! I committed everything except these two changes:
> * objc/Make-lang.in (objc-act.o): Add C++ header dependencies
> for future (Objective-C++) use.
> * objc/objc-act.c: Conditionally include C++ headers, with
> condition currently disabled. For use with Objective-C++.
While it's reasonable to accept changes that will help ObjC frontend
code coexist with C++ frontend code, I think it's premature to
start making explicit cross-references like these. Objective-C++
hasn't even been officially proposed as a new frontend for FSF GCC,
and so we can't know whether these particular includes will be the
right way to implement it.
Stan