Skip to content

Instantly share code, notes, and snippets.

@deepak1556
Last active October 29, 2019 17:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save deepak1556/a219909c92ba28384517d5def8cff135 to your computer and use it in GitHub Desktop.
Save deepak1556/a219909c92ba28384517d5def8cff135 to your computer and use it in GitHub Desktop.
Building libperfetto from lkgr chromium in non component build with VS 2019/2017
FAILED: obj/third_party/perfetto/protos/perfetto/common/cpp/descriptor.gen.obj
..\..\third_party\llvm-build\Release+Asserts\bin\clang-cl.exe /nologo /showIncludes "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\ATLMFC\include" "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -DDCHECK_ALWAYS_ON=1 -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: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-final-dtor-non-final-class -Wno-sizeof-array-div /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi -gline-tables-only /MT -Xclang -add-plugin -Xclang find-bad-constructs -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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::FileDescriptorProto> >::value_type' (aka 'perfetto::FileDescriptorProto')
++_Mylast;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,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(87,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(32,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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::DescriptorProto> >::value_type' (aka 'perfetto::DescriptorProto')
++_Mylast;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,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(143,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(33,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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::EnumDescriptorProto> >::value_type' (aka 'perfetto::EnumDescriptorProto')
++_Mylast;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,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(149,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(36,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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::FieldDescriptorProto> >::value_type' (aka 'perfetto::FieldDescriptorProto')
++_Mylast;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,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(155,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(34,7): note: forward declaration of 'perfetto::FieldDescriptorProto'
class FieldDescriptorProto;
^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(198,46): error: no matching member function for call to 'emplace_back'
FieldDescriptorProto* add_field() { field_.emplace_back(); return &field_.back(); }
~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,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(204,54): error: no matching member function for call to 'emplace_back'
FieldDescriptorProto* add_extension() { extension_.emplace_back(); return &extension_.back(); }
~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,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(210,53): error: no matching member function for call to 'emplace_back'
DescriptorProto* add_nested_type() { nested_type_.emplace_back(); return &nested_type_.back(); }
~~~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,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(216,53): error: no matching member function for call to 'emplace_back'
EnumDescriptorProto* add_enum_type() { enum_type_.emplace_back(); return &enum_type_.back(); }
~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,20): note: candidate template ignored: substitution failure [with _Valty = <>]
decltype(auto) emplace_back(_Valty&&... _Val) {
^
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::OneofDescriptorProto> >::value_type' (aka 'perfetto::OneofDescriptorProto')
++_Mylast;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,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(222,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(35,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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::DescriptorProto_ReservedRange> >::value_type' (aka 'perfetto::DescriptorProto_ReservedRange')
++_Mylast;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,20): note: in instantiation of function template specialization 'std::vector<perfetto::DescriptorProto_ReservedRange, std::allocator<perfetto::DescriptorProto_ReservedRange> >::_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(228,73): note: in instantiation of function template specialization 'std::vector<perfetto::DescriptorProto_ReservedRange, std::allocator<perfetto::DescriptorProto_ReservedRange> >::emplace_back<>' requested here
DescriptorProto_ReservedRange* add_reserved_range() { reserved_range_.emplace_back(); return &reserved_range_.back(); }
^
gen/third_party/perfetto\protos/perfetto/common/descriptor.gen.h(39,7): note: forward declaration of 'perfetto::DescriptorProto_ReservedRange'
class DescriptorProto_ReservedRange;
^
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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::EnumValueDescriptorProto> >::value_type' (aka 'perfetto::EnumValueDescriptorProto')
++_Mylast;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,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(389,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(37,7): note: forward declaration of 'perfetto::EnumValueDescriptorProto'
class EnumValueDescriptorProto;
^
gen/third_party/perfetto/protos/perfetto/common/descriptor.gen.cc(32,11): error: no matching member function for call to 'emplace_back'
file_.emplace_back();
~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,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(105,19): error: no matching member function for call to 'emplace_back'
message_type_.emplace_back();
~~~~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,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(111,16): error: no matching member function for call to 'emplace_back'
enum_type_.emplace_back();
~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,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(117,16): error: no matching member function for call to 'emplace_back'
extension_.emplace_back();
~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,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(197,12): error: no matching member function for call to 'emplace_back'
field_.emplace_back();
~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,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(203,16): error: no matching member function for call to 'emplace_back'
extension_.emplace_back();
~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,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(209,18): error: no matching member function for call to 'emplace_back'
nested_type_.emplace_back();
~~~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,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(215,16): error: no matching member function for call to 'emplace_back'
enum_type_.emplace_back();
~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,20): note: candidate template ignored: substitution failure [with _Valty = <>]
decltype(auto) emplace_back(_Valty&&... _Val) {
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[523/586] 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 "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\ATLMFC\include" "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -DDCHECK_ALWAYS_ON=1 -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: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-final-dtor-non-final-class -Wno-sizeof-array-div /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi -gline-tables-only /MT -Xclang -add-plugin -Xclang find-bad-constructs -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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,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;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,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();
~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,20): note: candidate template ignored: substitution failure [with _Valty = <>]
decltype(auto) emplace_back(_Valty&&... _Val) {
^
2 errors generated.
[527/586] 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 "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\ATLMFC\include" "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -DDCHECK_ALWAYS_ON=1 -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: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-final-dtor-non-final-class -Wno-sizeof-array-div /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi -gline-tables-only /MT -Xclang -add-plugin -Xclang find-bad-constructs -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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,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;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,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();
~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,20): note: candidate template ignored: substitution failure [with _Valty = <>]
decltype(auto) emplace_back(_Valty&&... _Val) {
^
2 errors generated.
[529/586] 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 "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\ATLMFC\include" "-imsvcC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include" "-imsvcC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-imsvcC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" -DDCHECK_ALWAYS_ON=1 -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: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-final-dtor-non-final-class -Wno-sizeof-array-div /O1 /Ob2 /Oy- /Zc:inline /Gw /Oi -gline-tables-only /MT -Xclang -add-plugin -Xclang find-bad-constructs -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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::TracingServiceState_Producer> >::value_type' (aka 'perfetto::TracingServiceState_Producer')
++_Mylast;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,20): 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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::TracingServiceState_DataSource> >::value_type' (aka 'perfetto::TracingServiceState_DataSource')
++_Mylast;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,20): 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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::GpuCounterDescriptor_GpuCounterSpec> >::value_type' (aka 'perfetto::GpuCounterDescriptor_GpuCounterSpec')
++_Mylast;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,20): 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(136,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:
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(641,9): error: arithmetic on a pointer to an incomplete type 'std::_Default_allocator_traits<std::allocator<perfetto::GpuCounterDescriptor_GpuCounterBlock> >::value_type' (aka 'perfetto::GpuCounterDescriptor_GpuCounterBlock')
++_Mylast;
^ ~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(656,20): 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(142,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();
~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,20): 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();
~~~~~~~~~~~~~~^~~~~~~~~~~~
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.23.28105\include\vector(651,20): note: candidate template ignored: substitution failure [with _Valty = <>]
decltype(auto) emplace_back(_Valty&&... _Val) {
^
6 errors generated.
[535/586] CXX obj/third_party/perfetto/protos/perfetto/common/cpp/track_event_descriptor.gen.obj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment