[cfe-dev] extern supported yet?

Chris Lattner clattner at apple.com
Sat Oct 6 12:09:25 PDT 2007


On Sep 30, 2007, at 3:19 AM, Jeroen Ruigrok van der Werven wrote:

> -On [20070724 19:42], Steve Naroff (snaroff at apple.com) wrote:
>> On Jul 24, 2007, at 10:06 AM, Chris Lattner wrote:
>>    This is a bug or missing feature in the declaration merging code.
>>    Steve, can you take a look at this?  Here's a self-contained  
>> example:
>>
>>    int array[10];
>>    extern int array[];
>>
>> This is a missing feature that has a clear FIXME...
>>
>> /// FIXME: Need to carefully consider tentative definition rules  
>> (C99 6.9.2p2).
>> /// For example, we incorrectly complain about i1, i4 from C99  
>> 6.9.2p4.
>> ///
>> VarDecl *Sema::MergeVarDecl(VarDecl *New, Decl *OldD) {
>>
>> MergeTypedefDecl and MergeFunctionDecl are also incomplete. They  
>> both have
>> TODO annotations...
>
> Any of you guys happen to have looked at it in the mean time?

Nope, not yet :(

-Chris



More information about the cfe-dev mailing list