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]
Other format: [Raw text]

Re: PATCH: ObjC testsuite use simple NSConstantString implementation -- TAKE 2



On 7 Jun, 2004, at 13.31, David Ayers wrote:


Ziemowit Laski wrote:
Well, turns out that an __attribute__((constructor)) function was also needed to get David's NSConstantString metaclass off the ground...

I guess you've tested and got it working. I thought according to extend.texi that:


"These attributes [constructor, destructor] are not currently implemented for Objective-C."

Does this refer to methods or is it obsolete?

It refers to methods only. In next_mapping.h, I used it in a plain vanilla C function, which is OK.



Of course this is orthogonal to the patch itself.

Yup. :-)


--Zem
--------------------------------------------------------------
Ziemowit Laski                 1 Infinite Loop, MS 301-2K
Mac OS X Compiler Group        Cupertino, CA USA  95014-2083
Apple Computer, Inc.           +1.408.974.6229  Fax .5477


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