[PATCH] D29464: [MinGWToolChain] Don't use GCC headers on Win32

Mateusz MikuĊ‚a via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 9 11:47:27 PST 2017


mati865 marked an inline comment as done.
mati865 added a comment.

@yaron.keren those includes are not available in native Linux Clang:

  float128_ex.cc:2:10: fatal error: 'quadmath.h' file not found
  #include <quadmath.h>
           ^

And at least 2 of GCC includes clash with Clang includes:

- limits.h - explained above, guards are preventing including of mingw-w64 limits.h
- ia32intrin.h - compilation errors, not investigated further as this patch fixed it

If those changes are not wanted this Diff can be closed and it will be used as local patch for MSYS2 Clang.


https://reviews.llvm.org/D29464





More information about the cfe-commits mailing list