[LLVMbugs] [Bug 3840] New: [sema] invalid conflicting types error

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Mar 19 01:16:44 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=3840

           Summary: [sema] invalid conflicting types error
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: clattner at apple.com, llvmbugs at cs.uiuc.edu,
                    dgregor at apple.com


clang rejects the following code it should accept; this is a regression since
one or two days ago.
--
ddunbar at frank:tmp$ cat t.c
void f0 (unsigned short a0);
extern __typeof (f0) f1;
extern __typeof (f1) f1;
ddunbar at frank:tmp$ clang t.c
t.c:3:22: error: conflicting types for 'f1'
extern __typeof (f1) f1;
                     ^
t.c:2:22: note: previous declaration is here
extern __typeof (f0) f1;
                     ^
2 diagnostics generated.
--


-- 
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