<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/64467>64467</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
/usr/lib/llvm-15/lib/clang/15.0.6/include/bmiintrin.h:74:27: note: expanded from macro '_tzcnt_u32'
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
lygstate
</td>
</tr>
</table>
<pre>
The error message:
```
In file included from ../src/amd/addrlib/src/core/addrobject.h:21:
../src/amd/addrlib/src/core/addrcommon.h:343:13: error: expected unqualified-id
out = ::_tzcnt_u32(mask);
^
/usr/lib/llvm-15/lib/clang/15.0.6/include/bmiintrin.h:74:27: note: expanded from macro '_tzcnt_u32'
#define _tzcnt_u32(a) (__tzcnt_u32((a)))
```
I think this can be fixed with
```
#define _tzcnt_u32 __tzcnt_u32
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzEk8FupDwMx5_GXKIicAIzHDhM1Q_pu--9ComBbEPSTcK23adfhaGzrdTLnlaKLOIQ--e_YxmjmR1RD809NA-F3NLiQ2_f5phkomL0-q3_thCjEHxgK8UoZwJ-geoBqnfbVsfat_87NhlLzDhlN02aTcGvrCwBhxgU4CBXna3WwZrx5lU-0OH243dSqVyAX7C-JfubCMqvq3d7BC448EudzbWK_eP1mVQizTb3Y5PWTIb0ndHXRIwx5rfEgD-wnJ1fHtMv5dLjxhHwvMr4BNgBvz9-h-a_QwgcthgAhyuVtT_Xu7q57ZWVbgYc6qasyhZwOBQCHMbVGJeCuSKfRK78lEGdT3QAS3cTc5UqeAZ4-gh2eofgmibjiH2iloAdAzw_fvIeB8f6spssLcY9ZRuZko6NxCbzSpq9mLR8eeUrgqwp-5j788VC91x3vJMF9XXb1bziomuKpe84jUKLsZWqa0mIM2-qth47obDm4iwK02OFvDpXbdXymjdlO01T0zQt4dh0dJ5AVLRKY8vcjtKHuTAxbtS3QrSnwsqRbNyfP6KjF7YfAmKehtDvLRy3OYKorIkp_omSTLLU_-OWF1uw_ZLSc8wPFQfAYTZp2cZS-fXgecd6Dj6PVYbINUbAYdfgdwAAAP__Q34y3g">