This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH: ObjC Front-End Cleanup


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]