Objective-C PATCH: Make synthetic decls and defns match

Zack Weinberg zack@codesourcery.com
Sat Jun 28 01:35:00 GMT 2003


Ziemowit Laski <zlaski@apple.com> 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?

zw



More information about the Gcc-patches mailing list