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

           Summary: llvm-c/Target.h can not compile with Visual Studio in C
           Product: libraries
           Version: 2.6
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Target-Independent JIT
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Created an attachment (id=3909)
 --> (http://llvm.org/bugs/attachment.cgi?id=3909)
Patch to remove inline keyword

llvm-c/Target.h fails to compile with Visual Studio when compiling in C mode
due to the usage of the inline keyword (C99 specific I think).

I run into this while trying to compile llvm-py python extension.

I solved this by removing the inline keyword. As the function are static this
compile correctly.


-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to