CEF 3945 build errors, troubles with perfetto?

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

CEF 3945 build errors, troubles with perfetto?

Postby ally » Mon Dec 30, 2019 10:44 am

Hello,

I am trying to compile CEF 3945 from the source code.
My enviroment: Windows Server 2019, msvc 2017/2019(same errors with any version), SDK 10.0.18362.0, x64 arch
I have the following build log with the some errors:

Code: Select all
C:\cef\cef_3945\chromium-git\chromium\src>ninja -C out\Release_GN_x64_sandbox cef
ninja: Entering directory `out\Release_GN_x64_sandbox'
[5982/16274] CXX obj/third_party/perfetto/protos/perfetto/common/cpp/tracing_service_state.gen.obj
FAILED: obj/third_party/perfetto/protos/perfetto/common/cpp/tracing_service_state.gen.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"373424-64a362e7-1\"" -D_HAS_NODISCARD -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -D_USING_V110_SDK71_ -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_RS2 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DPERFETTO_IMPLEMENTATION -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -I../.. -Igen -I../../third_party/protobuf/src -Igen/protoc_out -Igen/third_party/perfetto -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/protobuf/src -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase /Zc:sizedDealloc- /X -fmsc-version=1916 /guard:cf,nochecks -m64 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes /W4 -Wimplicit-fallthrough -Wthread-safety -Wextra-semi /WX /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-reorder-init-list -Wno-final-dtor-non-final-class -Wno-sizeof-array-div /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /Z7 -gcodeview-ghash -fno-standalone-debug /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-shorten-64-to-32 /TP /wd4577 /GR- /c gen/third_party/perfetto/protos/perfetto/common/tracing_service_state.gen.cc /Foobj/third_party/perfetto/protos/perfetto/common/cpp/tracing_service_state.gen.obj /Fd"obj/third_party/perfetto/protos/perfetto/common/cpp_cc.pdb"
In file included from gen/third_party/perfetto/protos/perfetto/common/tracing_service_state.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/tracing_service_state.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(905,3): error: arithmetic on a pointer to an incomplete type 'std::_Simple_types<perfetto::TracingServiceState_Producer>::value_type' (aka 'perfetto::TracingServiceState_Producer')
                ++this->_Mylast();
                ^ ~~~~~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(919,12): note: in instantiation of function template specialization 'std::vector<perfetto::TracingServiceState_Producer, std::allocator<perfetto::TracingServiceState_Producer> >::_Emplace_back_with_unused_capacity<>' requested here
                        return (_Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...));
                                ^
gen/third_party/perfetto\protos/perfetto/common/tracing_service_state.gen.h(52,62): note: in instantiation of function template specialization 'std::vector<perfetto::TracingServiceState_Producer, std::allocator<perfetto::TracingServiceState_Producer> >::emplace_back<>' requested here
  TracingServiceState_Producer* add_producers() { producers_.emplace_back(); return &producers_.back(); }
                                                             ^
gen/third_party/perfetto\protos/perfetto/common/tracing_service_state.gen.h(26,7): note: forward declaration of 'perfetto::TracingServiceState_Producer'
class TracingServiceState_Producer;
      ^
In file included from gen/third_party/perfetto/protos/perfetto/common/tracing_service_state.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/tracing_service_state.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(905,3): error: arithmetic on a pointer to an incomplete type 'std::_Simple_types<perfetto::TracingServiceState_DataSource>::value_type' (aka 'perfetto::TracingServiceState_DataSource')
                ++this->_Mylast();
                ^ ~~~~~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(919,12): note: in instantiation of function template specialization 'std::vector<perfetto::TracingServiceState_DataSource, std::allocator<perfetto::TracingServiceState_DataSource> >::_Emplace_back_with_unused_capacity<>' requested here
                        return (_Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...));
                                ^
gen/third_party/perfetto\protos/perfetto/common/tracing_service_state.gen.h(58,70): note: in instantiation of function template specialization 'std::vector<perfetto::TracingServiceState_DataSource, std::allocator<perfetto::TracingServiceState_DataSource> >::emplace_back<>' requested here
  TracingServiceState_DataSource* add_data_sources() { data_sources_.emplace_back(); return &data_sources_.back(); }
                                                                     ^
gen/third_party/perfetto\protos/perfetto/common/tracing_service_state.gen.h(27,7): note: forward declaration of 'perfetto::TracingServiceState_DataSource'
class TracingServiceState_DataSource;
      ^
In file included from gen/third_party/perfetto/protos/perfetto/common/tracing_service_state.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/tracing_service_state.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(905,3): error: arithmetic on a pointer to an incomplete type 'std::_Simple_types<perfetto::GpuCounterDescriptor_GpuCounterSpec>::value_type' (aka 'perfetto::GpuCounterDescriptor_GpuCounterSpec')
                ++this->_Mylast();
                ^ ~~~~~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(919,12): note: in instantiation of function template specialization 'std::vector<perfetto::GpuCounterDescriptor_GpuCounterSpec, std::allocator<perfetto::GpuCounterDescriptor_GpuCounterSpec> >::_Emplace_back_with_unused_capacity<>' requested here
                        return (_Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...));
                                ^
gen/third_party/perfetto\protos/perfetto/common/gpu_counter_descriptor.gen.h(130,61): note: in instantiation of function template specialization 'std::vector<perfetto::GpuCounterDescriptor_GpuCounterSpec, std::allocator<perfetto::GpuCounterDescriptor_GpuCounterSpec> >::emplace_back<>' requested here
  GpuCounterDescriptor_GpuCounterSpec* add_specs() { specs_.emplace_back(); return &specs_.back(); }
                                                            ^
gen/third_party/perfetto\protos/perfetto/common/gpu_counter_descriptor.gen.h(25,7): note: forward declaration of 'perfetto::GpuCounterDescriptor_GpuCounterSpec'
class GpuCounterDescriptor_GpuCounterSpec;
      ^
In file included from gen/third_party/perfetto/protos/perfetto/common/tracing_service_state.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/tracing_service_state.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(905,3): error: arithmetic on a pointer to an incomplete type 'std::_Simple_types<perfetto::GpuCounterDescriptor_GpuCounterBlock>::value_type' (aka 'perfetto::GpuCounterDescriptor_GpuCounterBlock')
                ++this->_Mylast();
                ^ ~~~~~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(919,12): note: in instantiation of function template specialization 'std::vector<perfetto::GpuCounterDescriptor_GpuCounterBlock, std::allocator<perfetto::GpuCounterDescriptor_GpuCounterBlock> >::_Emplace_back_with_unused_capacity<>' requested here
                        return (_Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...));
                                ^
gen/third_party/perfetto\protos/perfetto/common/gpu_counter_descriptor.gen.h(136,64): note: in instantiation of function template specialization 'std::vector<perfetto::GpuCounterDescriptor_GpuCounterBlock, std::allocator<perfetto::GpuCounterDescriptor_GpuCounterBlock> >::emplace_back<>' requested here
  GpuCounterDescriptor_GpuCounterBlock* add_blocks() { blocks_.emplace_back(); return &blocks_.back(); }
                                                               ^
gen/third_party/perfetto\protos/perfetto/common/gpu_counter_descriptor.gen.h(26,7): note: forward declaration of 'perfetto::GpuCounterDescriptor_GpuCounterBlock'
class GpuCounterDescriptor_GpuCounterBlock;
      ^
gen/third_party/perfetto/protos/perfetto/common/tracing_service_state.gen.cc(38,16): error: no matching member function for call to 'emplace_back'
    producers_.emplace_back();
    ~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(915,18): note: candidate template ignored: substitution failure [with _Valty = <>]
                decltype(auto) emplace_back(_Valty&&... _Val)
                               ^
gen/third_party/perfetto/protos/perfetto/common/tracing_service_state.gen.cc(44,19): error: no matching member function for call to 'emplace_back'
    data_sources_.emplace_back();
    ~~~~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(915,18): note: candidate template ignored: substitution failure [with _Valty = <>]
                decltype(auto) emplace_back(_Valty&&... _Val)
                               ^
6 errors generated.
[5983/16274] CXX obj/third_party/perfetto/protos/perfetto/common/cpp/commit_data_request.gen.obj
FAILED: obj/third_party/perfetto/protos/perfetto/common/cpp/commit_data_request.gen.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"373424-64a362e7-1\"" -D_HAS_NODISCARD -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -D_USING_V110_SDK71_ -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_RS2 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DPERFETTO_IMPLEMENTATION -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -I../.. -Igen -I../../third_party/protobuf/src -Igen/protoc_out -Igen/third_party/perfetto -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/protobuf/src -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase /Zc:sizedDealloc- /X -fmsc-version=1916 /guard:cf,nochecks -m64 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes /W4 -Wimplicit-fallthrough -Wthread-safety -Wextra-semi /WX /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-reorder-init-list -Wno-final-dtor-non-final-class -Wno-sizeof-array-div /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /Z7 -gcodeview-ghash -fno-standalone-debug /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-shorten-64-to-32 /TP /wd4577 /GR- /c gen/third_party/perfetto/protos/perfetto/common/commit_data_request.gen.cc /Foobj/third_party/perfetto/protos/perfetto/common/cpp/commit_data_request.gen.obj /Fd"obj/third_party/perfetto/protos/perfetto/common/cpp_cc.pdb"
In file included from gen/third_party/perfetto/protos/perfetto/common/commit_data_request.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/commit_data_request.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(905,3): error: arithmetic on a pointer to an incomplete type 'std::_Simple_types<perfetto::CommitDataRequest_ChunksToMove>::value_type' (aka 'perfetto::CommitDataRequest_ChunksToMove')
                ++this->_Mylast();
                ^ ~~~~~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(919,12): note: in instantiation of function template specialization 'std::vector<perfetto::CommitDataRequest_ChunksToMove, std::allocator<perfetto::CommitDataRequest_ChunksToMove> >::_Emplace_back_with_unused_capacity<>' requested here
                        return (_Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...));
                                ^
gen/third_party/perfetto\protos/perfetto/common/commit_data_request.gen.h(86,74): note: in instantiation of function template specialization 'std::vector<perfetto::CommitDataRequest_ChunksToMove, std::allocator<perfetto::CommitDataRequest_ChunksToMove> >::emplace_back<>' requested here
  CommitDataRequest_ChunksToMove* add_chunks_to_move() { chunks_to_move_.emplace_back(); return &chunks_to_move_.back(); }
                                                                         ^
gen/third_party/perfetto\protos/perfetto/common/commit_data_request.gen.h(26,7): note: forward declaration of 'perfetto::CommitDataRequest_ChunksToMove'
class CommitDataRequest_ChunksToMove;
      ^
In file included from gen/third_party/perfetto/protos/perfetto/common/commit_data_request.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/commit_data_request.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(905,3): error: arithmetic on a pointer to an incomplete type 'std::_Simple_types<perfetto::CommitDataRequest_ChunkToPatch>::value_type' (aka 'perfetto::CommitDataRequest_ChunkToPatch')
                ++this->_Mylast();
                ^ ~~~~~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(919,12): note: in instantiation of function template specialization 'std::vector<perfetto::CommitDataRequest_ChunkToPatch, std::allocator<perfetto::CommitDataRequest_ChunkToPatch> >::_Emplace_back_with_unused_capacity<>' requested here
                        return (_Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...));
                                ^
gen/third_party/perfetto\protos/perfetto/common/commit_data_request.gen.h(92,76): note: in instantiation of function template specialization 'std::vector<perfetto::CommitDataRequest_ChunkToPatch, std::allocator<perfetto::CommitDataRequest_ChunkToPatch> >::emplace_back<>' requested here
  CommitDataRequest_ChunkToPatch* add_chunks_to_patch() { chunks_to_patch_.emplace_back(); return &chunks_to_patch_.back(); }
                                                                           ^
gen/third_party/perfetto\protos/perfetto/common/commit_data_request.gen.h(27,7): note: forward declaration of 'perfetto::CommitDataRequest_ChunkToPatch'
class CommitDataRequest_ChunkToPatch;
      ^
gen/third_party/perfetto/protos/perfetto/common/commit_data_request.gen.cc(75,21): error: no matching member function for call to 'emplace_back'
    chunks_to_move_.emplace_back();
    ~~~~~~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(915,18): note: candidate template ignored: substitution failure [with _Valty = <>]
                decltype(auto) emplace_back(_Valty&&... _Val)
                               ^
gen/third_party/perfetto/protos/perfetto/common/commit_data_request.gen.cc(81,22): error: no matching member function for call to 'emplace_back'
    chunks_to_patch_.emplace_back();
    ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.16.27023\include\vector(915,18): note: candidate template ignored: substitution failure [with _Valty = <>]
                decltype(auto) emplace_back(_Valty&&... _Val)
                               ^
4 errors generated.
[5984/16274] CXX obj/third_party/perfetto/protos/perfetto/common/cpp/track_event_descriptor.gen.obj



I also use the following environment variables:

Code: Select all
set GN_DEFINES=is_official_build=true proprietary_codecs=true ffmpeg_branding=Chrome is_component_build=false is_debug=false use_jumbo_build=true is_clang=true
set GYP_MSVS_VERSION=2017
set GYP_DEFINES=proprietary_codecs=1 ffmpeg_branding=Chrome target_arch=x64 is_official_build=1 buildtype=Official
set CEF_ARCHIVE_FORMAT=tar.bz2
set GN_ARGUMENTS=--ide=vs2017 --sln=cef --filters=//cef/*


I have no idea how to fix it. Can anybody help me with these?
Many thanks.
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby ndesktop » Tue Dec 31, 2019 8:33 am

Looks like includes are still coming from MSVC instead of SDK 10.0.18362. Not sure if this is normal or not, just noticed.
Maybe it's jumbo build ?
ndesktop
Master
 
Posts: 756
Joined: Thu Dec 03, 2015 10:10 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby ally » Wed Jan 01, 2020 12:42 pm

ndesktop wrote:Looks like includes are still coming from MSVC instead of SDK 10.0.18362. Not sure if this is normal or not, just noticed.
Maybe it's jumbo build ?


Thanks for the quick response.
The path C: \Program Files (x86)\Windows Kits\10\ Include \ 10.0.18362.0 does not contains vector implementations.
I tried use_jumbo_build = false and got the same result for msvc 2019:

Code: Select all
ninja: Entering directory `out\Release_GN_x64_sandbox'
[7423/39816] CXX obj/third_party/harfbuzz-ng/harfbuzz_source/hb-ot-font.obj
In file included from ../../third_party/harfbuzz-ng/src/src/hb-ot-font.cc:38:
../../third_party/harfbuzz-ng/src/src/hb-ot-glyf-table.hh(949,56): warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
      return is_vertical ? ceil (phantoms[PHANTOM_TOP].y) - extents.y_bearing : floor (phantoms[PHANTOM_LEFT].x);
                           ~~~~  ~~~~~~~~~~~~~~~~~~~~~~^
../../third_party/harfbuzz-ng/src/src/hb-ot-glyf-table.hh(949,111): warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
      return is_vertical ? ceil (phantoms[PHANTOM_TOP].y) - extents.y_bearing : floor (phantoms[PHANTOM_LEFT].x);
                                                                                ~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~^
2 warnings generated.
[7436/39816] CXX obj/third_party/harfbuzz-ng/harfbuzz_source/hb-ot-face.obj
In file included from ../../third_party/harfbuzz-ng/src/src/hb-ot-face.cc:30:
../../third_party/harfbuzz-ng/src/src/hb-ot-glyf-table.hh(949,56): warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
      return is_vertical ? ceil (phantoms[PHANTOM_TOP].y) - extents.y_bearing : floor (phantoms[PHANTOM_LEFT].x);
                           ~~~~  ~~~~~~~~~~~~~~~~~~~~~~^
../../third_party/harfbuzz-ng/src/src/hb-ot-glyf-table.hh(949,111): warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
      return is_vertical ? ceil (phantoms[PHANTOM_TOP].y) - extents.y_bearing : floor (phantoms[PHANTOM_LEFT].x);
                                                                                ~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~^
2 warnings generated.
[7456/39816] CXX obj/third_party/harfbuzz-ng/harfbuzz_source/hb-subset.obj
In file included from ../../third_party/harfbuzz-ng/src/src/hb-subset.cc:34:
../../third_party/harfbuzz-ng/src/src/hb-ot-glyf-table.hh(949,56): warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
      return is_vertical ? ceil (phantoms[PHANTOM_TOP].y) - extents.y_bearing : floor (phantoms[PHANTOM_LEFT].x);
                           ~~~~  ~~~~~~~~~~~~~~~~~~~~~~^
../../third_party/harfbuzz-ng/src/src/hb-ot-glyf-table.hh(949,111): warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
      return is_vertical ? ceil (phantoms[PHANTOM_TOP].y) - extents.y_bearing : floor (phantoms[PHANTOM_LEFT].x);
                                                                                ~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~^
2 warnings generated.
[7467/39816] CXX obj/third_party/harfbuzz-ng/harfbuzz_source/hb-subset-plan.obj
In file included from ../../third_party/harfbuzz-ng/src/src/hb-subset-plan.cc:32:
../../third_party/harfbuzz-ng/src/src/hb-ot-glyf-table.hh(949,56): warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
      return is_vertical ? ceil (phantoms[PHANTOM_TOP].y) - extents.y_bearing : floor (phantoms[PHANTOM_LEFT].x);
                           ~~~~  ~~~~~~~~~~~~~~~~~~~~~~^
../../third_party/harfbuzz-ng/src/src/hb-ot-glyf-table.hh(949,111): warning: implicit conversion increases floating-point precision: 'float' to 'double' [-Wdouble-promotion]
      return is_vertical ? ceil (phantoms[PHANTOM_TOP].y) - extents.y_bearing : floor (phantoms[PHANTOM_LEFT].x);
                                                                                ~~~~~  ~~~~~~~~~~~~~~~~~~~~~~~^
2 warnings generated.
[12812/39816] CXX obj/third_party/perfetto/protos/perfetto/common/cpp/commit_data_request.gen.obj
FAILED: obj/third_party/perfetto/protos/perfetto/common/cpp/commit_data_request.gen.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"373424-64a362e7-1\"" -D_HAS_NODISCARD -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -D_USING_V110_SDK71_ -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_RS2 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DPERFETTO_IMPLEMENTATION -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -I../.. -Igen -I../../third_party/protobuf/src -Igen/protoc_out -Igen/third_party/perfetto -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/protobuf/src -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase /Zc:sizedDealloc- /X -fmsc-version=1916 /guard:cf,nochecks -m64 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes /W4 -Wimplicit-fallthrough -Wthread-safety -Wextra-semi /WX /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-reorder-init-list -Wno-final-dtor-non-final-class -Wno-sizeof-array-div /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /Z7 -gcodeview-ghash -fno-standalone-debug /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-shorten-64-to-32 /TP /wd4577 /GR- /c gen/third_party/perfetto/protos/perfetto/common/commit_data_request.gen.cc /Foobj/third_party/perfetto/protos/perfetto/common/cpp/commit_data_request.gen.obj /Fd"obj/third_party/perfetto/protos/perfetto/common/cpp_cc.pdb"
In file included from gen/third_party/perfetto/protos/perfetto/common/commit_data_request.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/commit_data_request.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(691,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::CommitDataRequest_ChunkToPatch_Patch> >::value_type' (aka 'perfetto::CommitDataRequest_ChunkToPatch_Patch')
        ++_Mylast;
        ^ ~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(706,20): note: in instantiation of function template specialization 'std::vector<perfetto::CommitDataRequest_ChunkToPatch_Patch, std::allocator<perfetto::CommitDataRequest_ChunkToPatch_Patch> >::_Emplace_back_with_unused_capacity<>' requested here
            return _Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...);
                   ^
gen/third_party/perfetto\protos/perfetto/common/commit_data_request.gen.h(97,66): note: in instantiation of function template specialization 'std::vector<perfetto::CommitDataRequest_ChunkToPatch_Patch, std::allocator<perfetto::CommitDataRequest_ChunkToPatch_Patch> >::emplace_back<>' requested here
  CommitDataRequest_ChunkToPatch_Patch* add_patches() { patches_.emplace_back(); return &patches_.back(); }
                                                                 ^
gen/third_party/perfetto\protos/perfetto/common/commit_data_request.gen.h(27,7): note: forward declaration of 'perfetto::CommitDataRequest_ChunkToPatch_Patch'
class CommitDataRequest_ChunkToPatch_Patch;
      ^
gen/third_party/perfetto/protos/perfetto/common/commit_data_request.gen.cc(93,14): error: no matching member function for call to 'emplace_back'
    patches_.emplace_back();
    ~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
2 errors generated.
[12813/39816] CXX obj/third_party/perfetto/protos/perfetto/common/cpp/observable_events.gen.obj
FAILED: obj/third_party/perfetto/protos/perfetto/common/cpp/observable_events.gen.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"373424-64a362e7-1\"" -D_HAS_NODISCARD -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -D_USING_V110_SDK71_ -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_RS2 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DPERFETTO_IMPLEMENTATION -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -I../.. -Igen -I../../third_party/protobuf/src -Igen/protoc_out -Igen/third_party/perfetto -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/protobuf/src -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase /Zc:sizedDealloc- /X -fmsc-version=1916 /guard:cf,nochecks -m64 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes /W4 -Wimplicit-fallthrough -Wthread-safety -Wextra-semi /WX /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-reorder-init-list -Wno-final-dtor-non-final-class -Wno-sizeof-array-div /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /Z7 -gcodeview-ghash -fno-standalone-debug /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-shorten-64-to-32 /TP /wd4577 /GR- /c gen/third_party/perfetto/protos/perfetto/common/observable_events.gen.cc /Foobj/third_party/perfetto/protos/perfetto/common/cpp/observable_events.gen.obj /Fd"obj/third_party/perfetto/protos/perfetto/common/cpp_cc.pdb"
In file included from gen/third_party/perfetto/protos/perfetto/common/observable_events.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/observable_events.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(691,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::ObservableEvents_DataSourceInstanceStateChange> >::value_type' (aka 'perfetto::ObservableEvents_DataSourceInstanceStateChange')
        ++_Mylast;
        ^ ~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(706,20): note: in instantiation of function template specialization 'std::vector<perfetto::ObservableEvents_DataSourceInstanceStateChange, std::allocator<perfetto::ObservableEvents_DataSourceInstanceStateChange> >::_Emplace_back_with_unused_capacity<>' requested here
            return _Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...);
                   ^
gen/third_party/perfetto\protos/perfetto/common/observable_events.gen.h(63,106): note: in instantiation of function template specialization 'std::vector<perfetto::ObservableEvents_DataSourceInstanceStateChange, std::allocator<perfetto::ObservableEvents_DataSourceInstanceStateChange> >::emplace_back<>' requested here
  ObservableEvents_DataSourceInstanceStateChange* add_instance_state_changes() { instance_state_changes_.emplace_back(); return &instance_state_changes_.back(); }
                                                                                                         ^
gen/third_party/perfetto\protos/perfetto/common/observable_events.gen.h(25,7): note: forward declaration of 'perfetto::ObservableEvents_DataSourceInstanceStateChange'
class ObservableEvents_DataSourceInstanceStateChange;
      ^
gen/third_party/perfetto/protos/perfetto/common/observable_events.gen.cc(32,29): error: no matching member function for call to 'emplace_back'
    instance_state_changes_.emplace_back();
    ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
2 errors generated.
[12814/39816] CXX obj/third_party/perfetto/protos/perfetto/common/cpp/descriptor.gen.obj
FAILED: obj/third_party/perfetto/protos/perfetto/common/cpp/descriptor.gen.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\ATLMFC\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvc..\..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -DUSE_AURA=1 "-DCR_CLANG_REVISION=\"373424-64a362e7-1\"" -D_HAS_NODISCARD -D_HAS_EXCEPTIONS=0 -D__STD_C -D_CRT_RAND_S -D_CRT_SECURE_NO_DEPRECATE -D_SCL_SECURE_NO_DEPRECATE -D_ATL_NO_OPENGL -D_WINDOWS -DCERT_CHAIN_PARA_HAS_EXTRA_FIELDS -DPSAPI_VERSION=2 -DWIN32 -D_SECURE_ATL -D_USING_V110_SDK71_ -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -DWIN32_LEAN_AND_MEAN -DNOMINMAX -D_UNICODE -DUNICODE -DNTDDI_VERSION=NTDDI_WIN10_RS2 -D_WIN32_WINNT=0x0A00 -DWINVER=0x0A00 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DPERFETTO_IMPLEMENTATION -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -I../.. -Igen -I../../third_party/protobuf/src -Igen/protoc_out -Igen/third_party/perfetto -I../../third_party/perfetto -I../../third_party/perfetto/include -Igen/third_party/perfetto/build_config -Igen/third_party/perfetto -I../../third_party/protobuf/src -fcolor-diagnostics -fmerge-all-constants -fcrash-diagnostics-dir=../../tools/clang/crashreports -Xclang -mllvm -Xclang -instcombine-lower-dbg-declare=0 -fcomplete-member-pointers /Gy /FS /bigobj /utf-8 /Zc:twoPhase /Zc:sizedDealloc- /X -fmsc-version=1916 /guard:cf,nochecks -m64 /Brepro -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -Xclang -fdebug-compilation-dir -Xclang . -no-canonical-prefixes /W4 -Wimplicit-fallthrough -Wthread-safety -Wextra-semi /WX /wd4091 /wd4127 /wd4251 /wd4275 /wd4312 /wd4324 /wd4351 /wd4355 /wd4503 /wd4589 /wd4611 /wd4100 /wd4121 /wd4244 /wd4505 /wd4510 /wd4512 /wd4610 /wd4838 /wd4995 /wd4996 /wd4456 /wd4457 /wd4458 /wd4459 /wd4200 /wd4201 /wd4204 /wd4221 /wd4245 /wd4267 /wd4305 /wd4389 /wd4702 /wd4701 /wd4703 /wd4661 /wd4706 /wd4715 -Wno-missing-field-initializers -Wno-unused-parameter -Wno-c++11-narrowing -Wno-unneeded-internal-declaration -Wno-undefined-var-template -Wno-nonportable-include-path -Wno-ignored-pragma-optimize -Wno-implicit-int-float-conversion -Wno-c99-designator -Wno-reorder-init-list -Wno-final-dtor-non-final-class -Wno-sizeof-array-div /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi /Z7 -gcodeview-ghash -fno-standalone-debug /MT -Wheader-hygiene -Wstring-conversion -Wtautological-overlap-compare -Wno-shorten-64-to-32 /TP /wd4577 /GR- /c gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc /Foobj/third_party/perfetto/protos/perfetto/common/cpp/descriptor.gen.obj /Fd"obj/third_party/perfetto/protos/perfetto/common/cpp_cc.pdb"
In file included from gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/descriptor.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(691,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::FileDescriptorProto> >::value_type' (aka 'perfetto::FileDescriptorProto')
        ++_Mylast;
        ^ ~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(706,20): note: in instantiation of function template specialization 'std::vector<perfetto::FileDescriptorProto, std::allocator<perfetto::FileDescriptorProto> >::_Emplace_back_with_unused_capacity<>' requested here
            return _Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...);
                   ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(120,43): note: in instantiation of function template specialization 'std::vector<perfetto::FileDescriptorProto, std::allocator<perfetto::FileDescriptorProto> >::emplace_back<>' requested here
  FileDescriptorProto* add_file() { file_.emplace_back(); return &file_.back(); }
                                          ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(33,7): note: forward declaration of 'perfetto::FileDescriptorProto'
class FileDescriptorProto;
      ^
In file included from gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/descriptor.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(691,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::DescriptorProto> >::value_type' (aka 'perfetto::DescriptorProto')
        ++_Mylast;
        ^ ~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(706,20): note: in instantiation of function template specialization 'std::vector<perfetto::DescriptorProto, std::allocator<perfetto::DescriptorProto> >::_Emplace_back_with_unused_capacity<>' requested here
            return _Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...);
                   ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(176,55): note: in instantiation of function template specialization 'std::vector<perfetto::DescriptorProto, std::allocator<perfetto::DescriptorProto> >::emplace_back<>' requested here
  DescriptorProto* add_message_type() { message_type_.emplace_back(); return &message_type_.back(); }
                                                      ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(34,7): note: forward declaration of 'perfetto::DescriptorProto'
class DescriptorProto;
      ^
In file included from gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/descriptor.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(691,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::EnumDescriptorProto> >::value_type' (aka 'perfetto::EnumDescriptorProto')
        ++_Mylast;
        ^ ~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(706,20): note: in instantiation of function template specialization 'std::vector<perfetto::EnumDescriptorProto, std::allocator<perfetto::EnumDescriptorProto> >::_Emplace_back_with_unused_capacity<>' requested here
            return _Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...);
                   ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(182,53): note: in instantiation of function template specialization 'std::vector<perfetto::EnumDescriptorProto, std::allocator<perfetto::EnumDescriptorProto> >::emplace_back<>' requested here
  EnumDescriptorProto* add_enum_type() { enum_type_.emplace_back(); return &enum_type_.back(); }
                                                    ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(37,7): note: forward declaration of 'perfetto::EnumDescriptorProto'
class EnumDescriptorProto;
      ^
In file included from gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/descriptor.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(691,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::FieldDescriptorProto> >::value_type' (aka 'perfetto::FieldDescriptorProto')
        ++_Mylast;
        ^ ~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(706,20): note: in instantiation of function template specialization 'std::vector<perfetto::FieldDescriptorProto, std::allocator<perfetto::FieldDescriptorProto> >::_Emplace_back_with_unused_capacity<>' requested here
            return _Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...);
                   ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(188,54): note: in instantiation of function template specialization 'std::vector<perfetto::FieldDescriptorProto, std::allocator<perfetto::FieldDescriptorProto> >::emplace_back<>' requested here
  FieldDescriptorProto* add_extension() { extension_.emplace_back(); return &extension_.back(); }
                                                     ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(35,7): note: forward declaration of 'perfetto::FieldDescriptorProto'
class FieldDescriptorProto;
      ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(231,46): error: no matching member function for call to 'emplace_back'
  FieldDescriptorProto* add_field() { field_.emplace_back(); return &field_.back(); }
                                      ~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
In file included from gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc:6:
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(237,54): error: no matching member function for call to 'emplace_back'
  FieldDescriptorProto* add_extension() { extension_.emplace_back(); return &extension_.back(); }
                                          ~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
In file included from gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc:6:
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(243,53): error: no matching member function for call to 'emplace_back'
  DescriptorProto* add_nested_type() { nested_type_.emplace_back(); return &nested_type_.back(); }
                                       ~~~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
In file included from gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc:6:
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(249,53): error: no matching member function for call to 'emplace_back'
  EnumDescriptorProto* add_enum_type() { enum_type_.emplace_back(); return &enum_type_.back(); }
                                         ~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(691,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::OneofDescriptorProto> >::value_type' (aka 'perfetto::OneofDescriptorProto')
        ++_Mylast;
        ^ ~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(706,20): note: in instantiation of function template specialization 'std::vector<perfetto::OneofDescriptorProto, std::allocator<perfetto::OneofDescriptorProto> >::_Emplace_back_with_unused_capacity<>' requested here
            return _Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...);
                   ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(255,56): note: in instantiation of function template specialization 'std::vector<perfetto::OneofDescriptorProto, std::allocator<perfetto::OneofDescriptorProto> >::emplace_back<>' requested here
  OneofDescriptorProto* add_oneof_decl() { oneof_decl_.emplace_back(); return &oneof_decl_.back(); }
                                                       ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(36,7): note: forward declaration of 'perfetto::OneofDescriptorProto'
class OneofDescriptorProto;
      ^
In file included from gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc:5:
In file included from gen/third_party/perfetto\protos/perfetto/common/descriptor.pb.h:23:
In file included from ../../third_party/protobuf/src\google/protobuf/io/coded_stream.h:135:
In file included from ../../third_party/protobuf/src\google/protobuf/stubs/common.h:44:
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(691,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::EnumValueDescriptorProto> >::value_type' (aka 'perfetto::EnumValueDescriptorProto')
        ++_Mylast;
        ^ ~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(706,20): note: in instantiation of function template specialization 'std::vector<perfetto::EnumValueDescriptorProto, std::allocator<perfetto::EnumValueDescriptorProto> >::_Emplace_back_with_unused_capacity<>' requested here
            return _Emplace_back_with_unused_capacity(_STD forward<_Valty>(_Val)...);
                   ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(422,50): note: in instantiation of function template specialization 'std::vector<perfetto::EnumValueDescriptorProto, std::allocator<perfetto::EnumValueDescriptorProto> >::emplace_back<>' requested here
  EnumValueDescriptorProto* add_value() { value_.emplace_back(); return &value_.back(); }
                                                 ^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(38,7): note: forward declaration of 'perfetto::EnumValueDescriptorProto'
class EnumValueDescriptorProto;
      ^
gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc(73,11): error: no matching member function for call to 'emplace_back'
    file_.emplace_back();
    ~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc(146,19): error: no matching member function for call to 'emplace_back'
    message_type_.emplace_back();
    ~~~~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc(152,16): error: no matching member function for call to 'emplace_back'
    enum_type_.emplace_back();
    ~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc(158,16): error: no matching member function for call to 'emplace_back'
    extension_.emplace_back();
    ~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc(238,12): error: no matching member function for call to 'emplace_back'
    field_.emplace_back();
    ~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc(244,16): error: no matching member function for call to 'emplace_back'
    extension_.emplace_back();
    ~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc(250,18): error: no matching member function for call to 'emplace_back'
    nested_type_.emplace_back();
    ~~~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc(256,16): error: no matching member function for call to 'emplace_back'
    enum_type_.emplace_back();
    ~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
    decltype(auto) emplace_back(_Valty&&... _Val) {
                   ^
gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc(262,17): error: no matching member function for call to 'emplace_back'
    oneof_decl_.emplace_back();
    ~~~~~~~~~~~~^~~~~~~~~~~~
..\..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.24.28314\include\vector(701,20): note: candidate template ignored: substitution failure [with _Valty = <>]
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby magreenblatt » Wed Jul 15, 2020 1:18 pm

I see the "error: arithmetic on a pointer to an incomplete type" in perfetto with MSVC 14.26.28801 (VS2019 16.6.3). It did not occur with MSVC 14.22.27905 (VS2019 16.2.3).
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF 3945 build errors, troubles with perfetto?

Postby magreenblatt » Wed Jul 15, 2020 3:32 pm

Looking at inode_file_config.gen.h as one example, the problem is code like the following in the InodeFileConfig class:
Code: Select all
InodeFileConfig_MountPointMappingEntry* add_mount_point_mapping() { mount_point_mapping_.emplace_back(); return &mount_point_mapping_.back(); }

The InodeFileConfig_MountPointMappingEntry type is defined after the InodeFileConfig type in the header file. If the order is reversed (so InodeFileConfig_MountPointMappingEntry is fully defined before InodeFileConfig tries to use it in emplace_back) then it compiles successfully.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF 3945 build errors, troubles with perfetto?

Postby magreenblatt » Thu Jul 16, 2020 11:33 am

The "//third_party/perfetto:libperfetto" dependency can be excluded by adding enable_base_tracing=false to the GN config for the cef_sandbox target.

C:\cef\cef_3945\chromium-git\chromium\src>ninja -C out\Release_GN_x64_sandbox cef
ninja: Entering directory `out\Release_GN_x64_sandbox'

You should only be building the cef_sandbox target in this directory. See here for instructions.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF 3945 build errors, troubles with perfetto?

Postby magreenblatt » Thu Jul 16, 2020 11:52 am

magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF 3945 build errors, troubles with perfetto?

Postby ally » Fri Jul 17, 2020 2:15 am

Thank you for your attention to this issue. I installed MSVC 16.2.3 and tried to build branch 4147.

In accordance with the instructions on the site, I used environment variables:

Code: Select all
set GN_DEFINES=is_component_build=true
set GN_ARGUMENTS=--ide=vs2019 --sln=cef --filters=//cef/*


and i got the following compilation errors

Code: Select all
Generating CEF buildinfo header file...
File include/cef_config.h is already up to date.
ninja: Entering directory `out\Release_GN_x64_sandbox'
[1299/33559] LINK flatc.exe flatc.exe.pdb
FAILED: flatc.exe flatc.exe.pdb
ninja -t msvc -e environment.x64 -- ..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe /nologo "-libpath:..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\ATLMFC\lib\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\lib\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\lib\um\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\ATLMFC\lib\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\lib\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\lib\um\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /OUT:./flatc.exe /PDB:./flatc.exe.pdb @./flatc.exe.rsp
lld-link: error: duplicate symbol: bool const std::_Is_integral<bool>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<char>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<signed char>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<unsigned char>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<wchar_t>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<char16_t>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<char32_t>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<short>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<unsigned short>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<int>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<unsigned int>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<long>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<unsigned long>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<__int64>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_integral<unsigned __int64>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_floating_point<float>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_floating_point<double>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::_Is_floating_point<long double>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::is_void_v<void>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj

lld-link: error: duplicate symbol: bool const std::is_void_v<void const>
>>> defined at obj/third_party/flatbuffers/flatc/flatc_main.obj
>>> defined at obj/third_party/flatbuffers/compiler_files/cpp_generator.obj
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby ally » Fri Jul 17, 2020 5:48 am

When trying to build CEF 4147 without sandbox on MSVC 16.2.3, I get the following error:

Code: Select all
C:\code\chromium_git\chromium\src>ninja -C out\Release_GN_x64 cef
ninja: Entering directory `out\Release_GN_x64'
[22191/23076] LINK(DLL) blink_modules.dll blink_modules.dll.lib blink_modules.dll.pdb
FAILED: blink_modules.dll blink_modules.dll.lib blink_modules.dll.pdb
ninja -t msvc -e environment.x64 -- ..\..\third_party\llvm-build\Release+Asserts\bin\lld-link.exe /nologo "-libpath:..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\ATLMFC\lib\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\lib\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\lib\um\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\ATLMFC\lib\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.22.27905\lib\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\NETFXSDK\4.7.2\lib\um\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\ucrt\x64" "-libpath:..\..\..\..\..\..\Program Files (x86)\Windows Kits\10\lib\10.0.18362.0\um\x64" /IMPLIB:./blink_modules.dll.lib /DLL /OUT:./blink_modules.dll /PDB:./blink_modules.dll.pdb @./blink_modules.dll.rsp
lld-link: error: codeview::mergeTypeAndIdRecords failed: The CodeView record is corrupted.
ninja: build stopped: subcommand failed.
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Re: CEF 3945 build errors, troubles with perfetto?

Postby ally » Fri Jul 17, 2020 5:54 am

on the same machine chromium compiles without errors
ally
Techie
 
Posts: 12
Joined: Mon Dec 30, 2019 10:08 am

Next

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 58 guests