<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - LLVM Toolset xmmintrin.h defines _m_pshufw as a macro, but the VS STL tries to use it as an identifier"
href="http://llvm.org/bugs/show_bug.cgi?id=17132">17132</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>LLVM Toolset xmmintrin.h defines _m_pshufw as a macro, but the VS STL tries to use it as an identifier
</td>
</tr>
<tr>
<th>Product</th>
<td>new-bugs
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>PC
</td>
</tr>
<tr>
<th>OS</th>
<td>Windows NT
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>new bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>wolfeinstein@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>llvmbugs@cs.uiuc.edu
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr></table>
<p>
<div>
<pre>The relevant compiler error is as follows:
1> G:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\include\intrin.h:527:20: error: expected unqualified-id
1> __MACHINEX86(__m64 _m_pshufw(__m64, int))
1> ^
1> G:\Program Files (x86)\LLVM
3.4.svn\msbuild-bin\..\lib\clang\3.4\include\xmmintrin.h:986:19: note: expanded
from macro '_m_pshufw'
1> #define _m_pshufw _mm_shuffle_pi16
1> ^
1> G:\Program Files (x86)\LLVM
3.4.svn\msbuild-bin\..\lib\clang\3.4\include\xmmintrin.h:749:32: note: expanded
from macro '_mm_shuffle_pi16'
1> #define _mm_shuffle_pi16(a, n) __extension__ ({ \
1> ^
1> G:\Program Files (x86)\Microsoft Visual Studio
11.0\VC\include\intrin.h:68:29: note: expanded from macro '__MACHINE'
1> #define __MACHINE(X) X;
The core issue here is that at intrin.h:527, the VS headers attempt to declare
_m_pshufw as a function, whereas xmmintrin.h defines it as a macro to something
else, breaking the declaration.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>