[llvm-bugs] [Bug 47570] New: error C3861: 'hash_value': identifier not found
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 17 19:15:26 PDT 2020
https://bugs.llvm.org/show_bug.cgi?id=47570
Bug ID: 47570
Summary: error C3861: 'hash_value': identifier not found
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
Hi All,
We build LLVM on MSVC to detect compiler regression. On the new repo
https://github.com/llvm/llvm-project/commits/master c140322, we found error
C3861 when updating LLVM sha, can you help look? Thanks.
build steps:
1. open VS2019 x64 tools command
2. git clone https://github.com/llvm/llvm-project LLVM
3. cd LLVM
4. mkdir build_x64 && pushd build_x64
5. cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.18362.0
-DLLVM_ENABLE_PROJECTS="clang" ..\llvm
6. msbuild /maxcpucount:4 /p:Platform=x64 /p:Configuration=RelWithDebInfo
/p:PreferredToolArchitecture=x64 ALL_BUILD.vcxproj /t:Rebuild
error info:
IRSimilarityIdentifier.cpp
F:\gitP\llvm\llvm-project\llvm\include\llvm/Support/type_traits.h(179,1):
warning C4067: unexpected tokens following preprocessor directive - expected a
newline
F:\gitP\llvm\llvm-project\llvm\include\llvm/Analysis/IRSimilarityIdentifier.h(154,9):
error C3861: 'hash_value': identifier not found
F:\gitP\llvm\llvm-project\llvm\include\llvm/Analysis/IRSimilarityIdentifier.h(154,9):
error C2672: 'llvm::IRSimilarity::hash_value': no matching overloaded function
found
F:\gitP\llvm\llvm-project\llvm\include\llvm/Analysis/IRSimilarityIdentifier.h(153,12):
error C2672: 'hash_combine': no matching overloaded function found
--
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/20200918/84abec55/attachment.html>
More information about the llvm-bugs
mailing list