<html>
<head>
<base href="https://bugs.llvm.org/">
</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 - ClangLLVM failed due to error C3861: 'F': identifier not found with /permissive- on MSVC"
href="https://bugs.llvm.org/show_bug.cgi?id=43801">43801</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>ClangLLVM failed due to error C3861: 'F': identifier not found with /permissive- on MSVC
</td>
</tr>
<tr>
<th>Product</th>
<td>clang
</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>enhancement
</td>
</tr>
<tr>
<th>Priority</th>
<td>P
</td>
</tr>
<tr>
<th>Component</th>
<td>-New Bugs
</td>
</tr>
<tr>
<th>Assignee</th>
<td>unassignedclangbugs@nondot.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>1998zhangyi@gmail.com
</td>
</tr>
<tr>
<th>CC</th>
<td>htmldeveloper@gmail.com, llvm-bugs@lists.llvm.org, neeilans@live.com, richard-llvm@metafoo.co.uk
</td>
</tr></table>
<p>
<div>
<pre>ClangLLVM failed due to "error C3861: 'F': identifier not found" with
/permissive- on MSVC. It can be reproduced on 2c4ca68 reversion on LLVM master
branch. Could you please have a look at this issue? Thanks a lot!
Repro steps:
1 git clone -c core.autocrlf=false <a href="https://github.com/llvm-mirror/llvm">https://github.com/llvm-mirror/llvm</a>
D:\llvm\src\
2 git clone -c core.autocrlf=false <a href="https://github.com/llvm-mirror/clang">https://github.com/llvm-mirror/clang</a>
D:\llvm\src\tools\clang
3 open a VS 2017 x86 command prompt and browse to D:\llvm
4 mkdir build_x86 && pushd build_x86
5 set _CL_=/permissive-
6 cmake -G "Visual Studio 15 2017" -DCMAKE_SYSTEM_VERSION=10.0.17134.0 ..\src\
7 msbuild /maxcpucount:4 /p:Platform=Win32 /p:Configuration=RelWithDebInfo
build_x86\ALL_BUILD.vcxproj /t:Rebuild
Failures:
D:\llvm\src\lib\Transforms\IPO\Attributor.cpp(592): error C3861: 'F':
identifier not found
D:\llvm\src\lib\Transforms\IPO\Attributor.cpp(602): note: see reference to
class template instantiation
'`anonymous-namespace'::AAComposeTwoGenericDeduction<AAType,Base,StateType,F,G>'
being compiled</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>