[cfe-commits] [PATCH] Fixing include order for Windows

Aaron Ballman aaron at aaronballman.com
Sun Feb 19 20:04:55 PST 2012


Here's what we've figured out so far.

Several platform SDK header files include intrin.h from Visual Studio.
 This file declares all of the intrinsics used by MSVC, including
chip-specific intrinsics (MMX, SSE, etc) as well as
platform-independent intrinsics (Interlocked***, etc).

A full list of intrinsics is documented on MSDN at
<http://msdn.microsoft.com/en-us/library/26td21ds.aspx> and
<http://msdn.microsoft.com/en-US/library/w5405h95(v=vs.100).aspx>

We need to come up with our own intrin.h that supports Microsoft's so
that we can compile Win32 applications (and Microsoft's STL
implementation).

~Aaron



More information about the cfe-commits mailing list