This is the mail archive of the 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: Objective-C PATCH: Make synthetic decls and defns match

Ziemowit Laski <> writes:

> On Friday, Jun 27, 2003, at 17:51 US/Pacific, Zack Weinberg wrote:
>> My patch that detects 'static' mismatches between declarations and
>> definitions, found a whole bunch of places where the Objective C front
>> end generates a synthetic declaration marked extern, then later a
>> synthetic definition of that symbol marked static.  This patch
>> attempts to correct all of these places.  I am not checking this in
>> yet,
>> because it's not obvious to me that I corrected them all the right
>> way, nor is it clear that I got them all.  Could Objective C people
>> please give some feedback on this patch?
> FWIW, I just checked, and we already have an equivalent mod in our
> local Apple tree. :-)
> (I ran into this while bringing up ObjC++.)

That's a useful data point at least.  Is it precisely equivalent?
That is, does it affect all the same things, no other things, and in
the same way for all of them?


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