[LLVMbugs] [Bug 23147] New: #include_netxt <Intrin.h> is not included in VS?

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Apr 7 07:53:23 PDT 2015


https://llvm.org/bugs/show_bug.cgi?id=23147

            Bug ID: 23147
           Summary: #include_netxt <Intrin.h> is not included in VS?
           Product: clang
           Version: 3.5
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Headers
          Assignee: unassignedclangbugs at nondot.org
          Reporter: fatwreck at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Hello, 

I was trying to compile a simple program which called __rdtsc() on MacOs, and
was failing with the following error:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/include/intrin.h:26:15:
fatal error:
      'Intrin.h' file not found
#include_next <Intrin.h>
              ^
1 error generated.

I checked the header file and noticed that comment above #include_next does not
match the code:

https://github.com/llvm-mirror/clang/blob/3e1cca7ad0cc730b54c1a2057f9ce36a85eab75a/lib/Headers/Intrin.h#L24-L27

I think it should be #ifdef _MSC_VER, or I am missing something?

Thank you!

Best,
Alex

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150407/d1037c86/attachment.html>


More information about the llvm-bugs mailing list