[LLVMbugs] [Bug 6658] New: clang's mmintrin.h fails in c89 mode

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Mar 19 19:02:20 PDT 2010


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

           Summary: clang's mmintrin.h fails in c89 mode
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: daniel at zuster.org
                CC: llvmbugs at cs.uiuc.edu


--
ddunbar at giles:tmp$ echo "#include <mmintrin.h>" | clang -x c -std=c89 -
In file included from <stdin>:1:
/Volumes/Data/Users/ddunbar/llvm.obj.64/Debug/lib/clang/1.5/include/mmintrin.h:37:8:
error: 
      unknown type name 'inline'
static inline void ...
       ^
/Volumes/Data/Users/ddunbar/llvm.obj.64/Debug/lib/clang/1.5/include/mmintrin.h:37:15:
error: 
      expected identifier or '('
static inline void ...
              ^
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