[llvm-bugs] [Bug 31794] The Clang API cannot parse the MinGW 5.3.0 headers when not skipping function bodies

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Jan 30 09:03:28 PST 2017


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

Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |rnk at google.com
         Resolution|---                         |INVALID

--- Comment #2 from Reid Kleckner <rnk at google.com> ---
You are using GCC's builtin Intel intrinsic headers, which are incompatible
with Clang. Clang supplies its own Intel intrinsic headers (xmmintrin.h,
ia32intrin.h, etc) in its resource directory. In normal operation, the resource
directory appears first on the include search path.

My guess is that somewhere the build system is passing '-isystem
C:\Qt\Qt5.8.0\Tools\mingw530_32\lib\gcc\i686-w64-mingw32\5.3.0\include', and
the right fix would be to remove that and let clang find its own headers.

-- 
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/20170130/bb870dd2/attachment.html>


More information about the llvm-bugs mailing list