[LLVMbugs] [Bug 14614] New: "tentative array definition" points to the wrong decl

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 15 14:03:18 PST 2012


             Bug #: 14614
           Summary: "tentative array definition" points to the wrong decl
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rafael.espindola at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


static int a16[];
extern int a16[];

clang prints

/test2.c:2:12: warning: tentative array definition assumed to have one element
extern int a16[];

It should probably point at the first declaration.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list