[LLVMbugs] [Bug 5960] New: Enable GNU inline semantics selectively in C99 mode

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Wed Jan 6 09:17:12 PST 2010


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

           Summary: Enable GNU inline semantics selectively in C99 mode
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: other
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Semantic Analyzer
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: dgregor at apple.com
                CC: llvmbugs at cs.uiuc.edu


Per David Chisnall's comments in PR 3989, some platforms have glibc headers
that expect GNU inline semantics even in C99 mode, which causes linking
problems when building with Clang. 

Implementing -fgnu89-inline works around part of the problem (and is probably a
good idea in general), but that's a big hammer: we really want only those
functions defined in the glibc headers to get GNU inline semantics.


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