Hi,
I'm trying to compile the branch head of 8.4 under windows using msvc.
Unfortunatly I get compile errors:
../../src/compiler/backend/register-allocator-verifier.cc(355,19): error: loop variable 'pair' creates a copy from type 'const std::pair<const v8::internal::compiler::InstructionOperand, v8::internal::compiler::Assessment *>' [-Werror,-Wrange-loop-construct]
for (const auto pair : map()) {
^
../../src/compiler/backend/register-allocator-verifier.cc(355,8): note: use reference type 'const std::pair<const v8::internal::compiler::InstructionOperand, v8::internal::compiler::Assessment *> &' to prevent copying
for (const auto pair : map()) {
^~~~~~~~~~~~~~~~~
&
1 error generated.
For complete log see attach
Any ideas where the error comes from are appreciated,
thanks.
>cl
Microsoft (R) C/C++-Optimierungscompiler Version 19.16.27042 für x86
>git log -n 1
commit 483421e9549adbf4a65d54d43fbffb250a577e5c (HEAD, tag: 8.4.371.22, origin/8.4-lkgr, branch-heads/8.4)
>gn gen out/x64-win.release --args="is_debug=false target_cpu=\"x64\" v8_target_cpu=\"x64\" use_goma=false is_clang=true v8_static_library=false is_component_build=true use_custom_libcxx=false v8_untrusted_code_mitigations=true"
>>ninja -C out/x64-win.release