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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to