[LLVMbugs] [Bug 3644] New: clang rejects redefinition of extern inline function

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Sat Feb 21 21:47:08 PST 2009


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

           Summary: clang rejects redefinition of extern inline function
           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: llvmbugs at cs.uiuc.edu


clang rejects the following code gcc accepts:
--
extern inline void f0(void) { }
void f0(void) { }
--

This notably occurs in gcc-4.2. gcc itself rejects this in c99 mode. We may
well not want to support this, but filing for tracking purposes.


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