This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: RFA: Bring ObjC init/finalization into line with C
- From: Ziemowit Laski <zlaski at apple dot com>
- To: Neil Booth <neil at daikokuya dot demon dot co dot uk>
- Cc: Stan Shebs <shebs at apple dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 17 Dec 2001 15:08:15 -0800
- Subject: Re: RFA: Bring ObjC init/finalization into line with C
On Monday, December 17, 2001, at 02:48 , Neil Booth wrote:
>> concerned, this is just the opening salvo. My ongoing work is on
>> depriving ObjC of its own control flow -- instead, pieces of ObjC
>> get called at crucial moments from C or C++ via a bunch of
>> maybe_objc_...()
>> hooks.
>
> Hmm. I'm not a big fan of those. I was even trying to think of clean
> ways of getting rid of them.
How else would you go about this (where "this" == "allowing ObjC
to sit on top of either C or C++")? I'm open to suggestions. :)
>
> One way is, of course, compiling twice with conditional compilation.
> But didn't satisfy my idea of clean 8-)
Compiling twice is something I would like to avoid -- the compiler build
is gargantuan as it is...
--Zem
--------------------------------------------------------------
Ziemowit Laski Apple Computer, Inc.
zlaski@apple.com 2 Infinite Loop, MS 302-4SN
+1.408.974.6229 Fax .1344 Cupertino, CA 95014-2085