[patches] Alternatives for static functions in extern C contexts

John McCall rjmccall at apple.com
Fri Feb 22 13:51:38 PST 2013


On Feb 22, 2013, at 5:58 AM, Rafael EspĂ­ndola <rafael.espindola at gmail.com> wrote:
>> If someone can present evidence that there is a *significant* quantity of
>> code which would be broken by a correct implementation of the language
>> linkage rules, then I'll be happy to take that back to core and fight harder
>> for a language change, and (much as I dislike this option) we should be
>> pragmatic and deviate from the current standard no matter what core decides.
>> If we can't find such evidence, then I see no reason to deviate from the
>> standard.
> 
> We are probably 3 or 4 months away from 3.3, so maybe we can commit
> mangle_static_extern_c.patch as an experiment? We have enough people
> following llvm trunk that we should be able to find out how common
> this is.

I have no problem with that.

John.



More information about the cfe-commits mailing list