[llvm-bugs] [Bug 43801] New: ClangLLVM failed due to error C3861: 'F': identifier not found with /permissive- on MSVC

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Oct 25 00:07:55 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43801

            Bug ID: 43801
           Summary: ClangLLVM failed due to error C3861: 'F': identifier
                    not found with /permissive- on MSVC
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: 1998zhangyi at gmail.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

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 https://github.com/llvm-mirror/llvm
D:\llvm\src\     
2 git clone -c core.autocrlf=false https://github.com/llvm-mirror/clang
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191025/69ae9b3d/attachment.html>


More information about the llvm-bugs mailing list