Project

General

Profile

Feature #8641

Update chromium

Added by Seth Westphal 11 months ago. Updated 10 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Package update
Target version:
-
Start date:
03/12/2018
Due date:
% Done:

0%

Estimated time:

Description

Update to version 65.

History

#1 Updated by Natanael Copa 11 months ago

It seems that gcc is no longer supported by chromium. I get the following errors:


</prninja: Entering directory `out/Release'
[74/30365] CXX obj/components/bubble/bubble/bubble_delegate.o
In file included from ../../buildtools/third_party/libc++/trunk/include/__config:300:0,
                 from ../../buildtools/third_party/libc++/trunk/include/memory:642,
                 from ../../components/bubble/bubble_delegate.h:8,
                 from ../../components/bubble/bubble_delegate.cc:5:
/usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp]
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
  ^~~~~~~
[104/30365] CXX obj/chrome/app/shutdown_signal_handlers/shutdown_signal_handlers_posix.o
In file included from ../../buildtools/third_party/libc++/trunk/include/__config:300:0,
                 from ../../buildtools/third_party/libc++/trunk/include/stddef.h:40,
                 from ../../base/memory/ref_counted.h:8,
                 from ../../chrome/app/shutdown_signal_handlers_posix.h:9,
                 from ../../chrome/app/shutdown_signal_handlers_posix.cc:5:
/usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp]
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
  ^~~~~~~
[106/30365] CXX obj/components/bubble/bubble/bubble_controller.o
In file included from ../../buildtools/third_party/libc++/trunk/include/__config:300:0,
                 from ../../buildtools/third_party/libc++/trunk/include/memory:642,
                 from ../../components/bubble/bubble_controller.h:8,
                 from ../../components/bubble/bubble_controller.cc:5:
/usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp]
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
  ^~~~~~~
[114/30365] CXX obj/components/bubble/bubble/bubble_manager.o
In file included from ../../buildtools/third_party/libc++/trunk/include/__config:300:0,
                 from ../../buildtools/third_party/libc++/trunk/include/memory:642,
                 from ../../components/bubble/bubble_manager.h:8,
                 from ../../components/bubble/bubble_manager.cc:5:
/usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp]
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
  ^~~~~~~
[118/30365] CXX obj/components/bookmarks/common/common/bookmark_constants.o
In file included from ../../buildtools/third_party/libc++/trunk/include/__config:300:0,
                 from ../../buildtools/third_party/libc++/trunk/include/stddef.h:40,
                 from ../../base/files/file_path.h:105,
                 from ../../components/bookmarks/common/bookmark_constants.h:8,
                 from ../../components/bookmarks/common/bookmark_constants.cc:5:
/usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp]
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
  ^~~~~~~
[130/30365] CXX obj/components/payments/content/content_common/web_app_manifest_section.o
In file included from ../../buildtools/third_party/libc++/trunk/include/__config:300:0,
                 from ../../buildtools/third_party/libc++/trunk/include/stdint.h:102,
                 from ../../components/payments/content/web_app_manifest_section.h:8,
                 from ../../components/payments/content/web_app_manifest_section.cc:5:
/usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp]
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
  ^~~~~~~
[142/30365] CXX obj/chrome/browser/ui/webui/omnibox/mojo_bindings_shared_cpp_sources/omnibox.mojom-shared.o
FAILED: obj/chrome/browser/ui/webui/omnibox/mojo_bindings_shared_cpp_sources/omnibox.mojom-shared.o 
g++ -MMD -MF obj/chrome/browser/ui/webui/omnibox/mojo_bindings_shared_cpp_sources/omnibox.mojom-shared.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fno-builtin-abs -fvisibility=hidden -std=gnu++14 -fno-delete-null-pointer-checks -Wno-narrowing -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -c gen/chrome/browser/ui/webui/omnibox/omnibox.mojom-shared.cc -o obj/chrome/browser/ui/webui/omnibox/mojo_bindings_shared_cpp_sources/omnibox.mojom-shared.o
In file included from ../../buildtools/third_party/libc++/trunk/include/__config:300:0,
                 from ../../buildtools/third_party/libc++/trunk/include/stdint.h:102,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom-shared.h:8,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom-shared.cc:10:
/usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp]
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
  ^~~~~~~
In file included from ../../buildtools/third_party/libc++/trunk/include/functional:487:0,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom-shared.h:10,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom-shared.cc:10:
../../buildtools/third_party/libc++/trunk/include/memory: In instantiation of 'void std::__1::allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Tp = mojo::StructPtr<mojo::native::SerializedHandle>]':
../../buildtools/third_party/libc++/trunk/include/memory:1670:14:   required from 'static void std::__1::allocator_traits<_Alloc>::__construct(std::__1::true_type, std::__1::allocator_traits<_Alloc>::allocator_type&, _Tp*, _Args&& ...) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::true_type = std::__1::integral_constant<bool, true>; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/memory:1516:25:   required from 'static void std::__1::allocator_traits<_Alloc>::construct(std::__1::allocator_traits<_Alloc>::allocator_type&, _Tp*, _Args&& ...) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/memory:1600:26:   required from 'static void std::__1::allocator_traits<_Alloc>::__construct_range_forward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Iter, _Iter, _Ptr&) [with _Iter = mojo::StructPtr<mojo::native::SerializedHandle>*; _Ptr = mojo::StructPtr<mojo::native::SerializedHandle>*; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/vector:1030:46:   required from 'typename std::__1::enable_if<std::__1::__is_forward_iterator<_ForwardIterator>::value, void>::type std::__1::vector<_Tp, _Alloc>::__construct_at_end(_ForwardIterator, _ForwardIterator, std::__1::vector<_Tp, _Alloc>::size_type) [with _ForwardIterator = mojo::StructPtr<mojo::native::SerializedHandle>*; _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Allocator = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; typename std::__1::enable_if<std::__1::__is_forward_iterator<_ForwardIterator>::value, void>::type = void; std::__1::vector<_Tp, _Alloc>::size_type = long unsigned int]'
../../buildtools/third_party/libc++/trunk/include/vector:1213:27:   required from 'std::__1::vector<_Tp, _Alloc>::vector(const std::__1::vector<_Tp, _Alloc>&) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Allocator = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/type_traits:3295:29:   required from 'struct std::__1::is_trivially_constructible<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> >, const std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle>, std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> > >&>'
../../buildtools/third_party/libc++/trunk/include/type_traits:3433:50:   required from 'struct std::__1::is_trivially_copy_constructible<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
../../base/optional.h:247:22:   required from 'class base::internal::OptionalBase<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
../../base/optional.h:264:7:   required from 'class base::Optional<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
gen/mojo/public/interfaces/bindings/native_struct.mojom.h:268:52:   required from here
../../buildtools/third_party/libc++/trunk/include/memory:1759:13: error: 'mojo::StructPtr<S>::StructPtr(const mojo::StructPtr<S>&) [with S = mojo::native::SerializedHandle]' is private within this context
             ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../base/logging.h:21:0,
                 from ../../mojo/public/cpp/bindings/lib/array_internal.h:14,
                 from ../../mojo/public/cpp/bindings/array_data_view.h:10,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom-shared.h:16,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom-shared.cc:10:
../../mojo/public/cpp/bindings/struct_ptr.h:110:28: note: declared private here
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
                            ^
../../base/macros.h:27:3: note: in definition of macro 'DISALLOW_COPY'
   TypeName(const TypeName&) = delete
   ^~~~~~~~
../../mojo/public/cpp/bindings/struct_ptr.h:110:3: note: in expansion of macro 'DISALLOW_COPY_AND_ASSIGN'
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../buildtools/third_party/libc++/trunk/include/functional:487:0,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom-shared.h:10,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom-shared.cc:10:
../../buildtools/third_party/libc++/trunk/include/memory:1759:13: error: use of deleted function 'mojo::StructPtr<S>::StructPtr(const mojo::StructPtr<S>&) [with S = mojo::native::SerializedHandle]'
             ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../base/logging.h:21:0,
                 from ../../mojo/public/cpp/bindings/lib/array_internal.h:14,
                 from ../../mojo/public/cpp/bindings/array_data_view.h:10,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom-shared.h:16,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom-shared.cc:10:
../../mojo/public/cpp/bindings/struct_ptr.h:110:28: note: declared here
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
                            ^
../../base/macros.h:27:3: note: in definition of macro 'DISALLOW_COPY'
   TypeName(const TypeName&) = delete
   ^~~~~~~~
../../mojo/public/cpp/bindings/struct_ptr.h:110:3: note: in expansion of macro 'DISALLOW_COPY_AND_ASSIGN'
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
   ^~~~~~~~~~~~~~~~~~~~~~~~
[143/30365] CXX obj/chrome/browser/ui/webui/omnibox/mojo_bindings/omnibox.mojom.o
FAILED: obj/chrome/browser/ui/webui/omnibox/mojo_bindings/omnibox.mojom.o 
g++ -MMD -MF obj/chrome/browser/ui/webui/omnibox/mojo_bindings/omnibox.mojom.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fno-builtin-abs -fvisibility=hidden -std=gnu++14 -fno-delete-null-pointer-checks -Wno-narrowing -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -c gen/chrome/browser/ui/webui/omnibox/omnibox.mojom.cc -o obj/chrome/browser/ui/webui/omnibox/mojo_bindings/omnibox.mojom.o
In file included from ../../buildtools/third_party/libc++/trunk/include/__config:300:0,
                 from ../../buildtools/third_party/libc++/trunk/include/stdint.h:102,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom.h:8,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom.cc:15:
/usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp]
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
  ^~~~~~~
In file included from ../../buildtools/third_party/libc++/trunk/include/algorithm:643:0,
                 from ../../buildtools/third_party/libc++/trunk/include/__string:56,
                 from ../../buildtools/third_party/libc++/trunk/include/string_view:169,
                 from ../../buildtools/third_party/libc++/trunk/include/string:470,
                 from ../../buildtools/third_party/libc++/trunk/include/__locale:15,
                 from ../../buildtools/third_party/libc++/trunk/include/ios:216,
                 from ../../buildtools/third_party/libc++/trunk/include/ostream:138,
                 from ../../buildtools/third_party/libc++/trunk/include/sstream:174,
                 from ../../base/logging.h:12,
                 from ../../base/memory/ref_counted.h:15,
                 from ../../base/callback_internal.h:14,
                 from ../../base/callback.h:9,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom.h:14,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom.cc:15:
../../buildtools/third_party/libc++/trunk/include/memory: In instantiation of 'void std::__1::allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Tp = mojo::StructPtr<mojo::native::SerializedHandle>]':
../../buildtools/third_party/libc++/trunk/include/memory:1670:14:   required from 'static void std::__1::allocator_traits<_Alloc>::__construct(std::__1::true_type, std::__1::allocator_traits<_Alloc>::allocator_type&, _Tp*, _Args&& ...) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::true_type = std::__1::integral_constant<bool, true>; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/memory:1516:25:   required from 'static void std::__1::allocator_traits<_Alloc>::construct(std::__1::allocator_traits<_Alloc>::allocator_type&, _Tp*, _Args&& ...) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/memory:1600:26:   required from 'static void std::__1::allocator_traits<_Alloc>::__construct_range_forward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Iter, _Iter, _Ptr&) [with _Iter = mojo::StructPtr<mojo::native::SerializedHandle>*; _Ptr = mojo::StructPtr<mojo::native::SerializedHandle>*; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/vector:1030:46:   required from 'typename std::__1::enable_if<std::__1::__is_forward_iterator<_ForwardIterator>::value, void>::type std::__1::vector<_Tp, _Alloc>::__construct_at_end(_ForwardIterator, _ForwardIterator, std::__1::vector<_Tp, _Alloc>::size_type) [with _ForwardIterator = mojo::StructPtr<mojo::native::SerializedHandle>*; _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Allocator = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; typename std::__1::enable_if<std::__1::__is_forward_iterator<_ForwardIterator>::value, void>::type = void; std::__1::vector<_Tp, _Alloc>::size_type = long unsigned int]'
../../buildtools/third_party/libc++/trunk/include/vector:1213:27:   required from 'std::__1::vector<_Tp, _Alloc>::vector(const std::__1::vector<_Tp, _Alloc>&) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Allocator = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/type_traits:3295:29:   required from 'struct std::__1::is_trivially_constructible<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> >, const std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle>, std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> > >&>'
../../buildtools/third_party/libc++/trunk/include/type_traits:3433:50:   required from 'struct std::__1::is_trivially_copy_constructible<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
../../base/optional.h:247:22:   required from 'class base::internal::OptionalBase<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
../../base/optional.h:264:7:   required from 'class base::Optional<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
gen/mojo/public/interfaces/bindings/native_struct.mojom.h:268:52:   required from here
../../buildtools/third_party/libc++/trunk/include/memory:1759:13: error: 'mojo::StructPtr<S>::StructPtr(const mojo::StructPtr<S>&) [with S = mojo::native::SerializedHandle]' is private within this context
             ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../base/callback_internal.h:13:0,
                 from ../../base/callback.h:9,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom.h:14,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom.cc:15:
../../mojo/public/cpp/bindings/struct_ptr.h:110:28: note: declared private here
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
                            ^
../../base/macros.h:27:3: note: in definition of macro 'DISALLOW_COPY'
   TypeName(const TypeName&) = delete
   ^~~~~~~~
../../mojo/public/cpp/bindings/struct_ptr.h:110:3: note: in expansion of macro 'DISALLOW_COPY_AND_ASSIGN'
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../buildtools/third_party/libc++/trunk/include/algorithm:643:0,
                 from ../../buildtools/third_party/libc++/trunk/include/__string:56,
                 from ../../buildtools/third_party/libc++/trunk/include/string_view:169,
                 from ../../buildtools/third_party/libc++/trunk/include/string:470,
                 from ../../buildtools/third_party/libc++/trunk/include/__locale:15,
                 from ../../buildtools/third_party/libc++/trunk/include/ios:216,
                 from ../../buildtools/third_party/libc++/trunk/include/ostream:138,
                 from ../../buildtools/third_party/libc++/trunk/include/sstream:174,
                 from ../../base/logging.h:12,
                 from ../../base/memory/ref_counted.h:15,
                 from ../../base/callback_internal.h:14,
                 from ../../base/callback.h:9,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom.h:14,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom.cc:15:
../../buildtools/third_party/libc++/trunk/include/memory:1759:13: error: use of deleted function 'mojo::StructPtr<S>::StructPtr(const mojo::StructPtr<S>&) [with S = mojo::native::SerializedHandle]'
             ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../base/callback_internal.h:13:0,
                 from ../../base/callback.h:9,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom.h:14,
                 from gen/chrome/browser/ui/webui/omnibox/omnibox.mojom.cc:15:
../../mojo/public/cpp/bindings/struct_ptr.h:110:28: note: declared here
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
                            ^
../../base/macros.h:27:3: note: in definition of macro 'DISALLOW_COPY'
   TypeName(const TypeName&) = delete
   ^~~~~~~~
../../mojo/public/cpp/bindings/struct_ptr.h:110:3: note: in expansion of macro 'DISALLOW_COPY_AND_ASSIGN'
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
   ^~~~~~~~~~~~~~~~~~~~~~~~
[145/30365] CXX obj/chrome/browser/ui/webui/discards/mojo_bindings_shared_cpp_sources/discards.mojom-shared.o
FAILED: obj/chrome/browser/ui/webui/discards/mojo_bindings_shared_cpp_sources/discards.mojom-shared.o 
g++ -MMD -MF obj/chrome/browser/ui/webui/discards/mojo_bindings_shared_cpp_sources/discards.mojom-shared.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fno-builtin-abs -fvisibility=hidden -std=gnu++14 -fno-delete-null-pointer-checks -Wno-narrowing -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -c gen/chrome/browser/ui/webui/discards/discards.mojom-shared.cc -o obj/chrome/browser/ui/webui/discards/mojo_bindings_shared_cpp_sources/discards.mojom-shared.o
In file included from ../../buildtools/third_party/libc++/trunk/include/__config:300:0,
                 from ../../buildtools/third_party/libc++/trunk/include/stdint.h:102,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom-shared.h:8,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom-shared.cc:10:
/usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp]
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
  ^~~~~~~
In file included from ../../buildtools/third_party/libc++/trunk/include/functional:487:0,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom-shared.h:10,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom-shared.cc:10:
../../buildtools/third_party/libc++/trunk/include/memory: In instantiation of 'void std::__1::allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Tp = mojo::StructPtr<mojo::native::SerializedHandle>]':
../../buildtools/third_party/libc++/trunk/include/memory:1670:14:   required from 'static void std::__1::allocator_traits<_Alloc>::__construct(std::__1::true_type, std::__1::allocator_traits<_Alloc>::allocator_type&, _Tp*, _Args&& ...) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::true_type = std::__1::integral_constant<bool, true>; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/memory:1516:25:   required from 'static void std::__1::allocator_traits<_Alloc>::construct(std::__1::allocator_traits<_Alloc>::allocator_type&, _Tp*, _Args&& ...) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/memory:1600:26:   required from 'static void std::__1::allocator_traits<_Alloc>::__construct_range_forward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Iter, _Iter, _Ptr&) [with _Iter = mojo::StructPtr<mojo::native::SerializedHandle>*; _Ptr = mojo::StructPtr<mojo::native::SerializedHandle>*; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/vector:1030:46:   required from 'typename std::__1::enable_if<std::__1::__is_forward_iterator<_ForwardIterator>::value, void>::type std::__1::vector<_Tp, _Alloc>::__construct_at_end(_ForwardIterator, _ForwardIterator, std::__1::vector<_Tp, _Alloc>::size_type) [with _ForwardIterator = mojo::StructPtr<mojo::native::SerializedHandle>*; _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Allocator = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; typename std::__1::enable_if<std::__1::__is_forward_iterator<_ForwardIterator>::value, void>::type = void; std::__1::vector<_Tp, _Alloc>::size_type = long unsigned int]'
../../buildtools/third_party/libc++/trunk/include/vector:1213:27:   required from 'std::__1::vector<_Tp, _Alloc>::vector(const std::__1::vector<_Tp, _Alloc>&) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Allocator = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/type_traits:3295:29:   required from 'struct std::__1::is_trivially_constructible<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> >, const std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle>, std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> > >&>'
../../buildtools/third_party/libc++/trunk/include/type_traits:3433:50:   required from 'struct std::__1::is_trivially_copy_constructible<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
../../base/optional.h:247:22:   required from 'class base::internal::OptionalBase<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
../../base/optional.h:264:7:   required from 'class base::Optional<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
gen/mojo/public/interfaces/bindings/native_struct.mojom.h:268:52:   required from here
../../buildtools/third_party/libc++/trunk/include/memory:1759:13: error: 'mojo::StructPtr<S>::StructPtr(const mojo::StructPtr<S>&) [with S = mojo::native::SerializedHandle]' is private within this context
             ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../base/logging.h:21:0,
                 from ../../mojo/public/cpp/bindings/lib/array_internal.h:14,
                 from ../../mojo/public/cpp/bindings/array_data_view.h:10,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom-shared.h:16,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom-shared.cc:10:
../../mojo/public/cpp/bindings/struct_ptr.h:110:28: note: declared private here
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
                            ^
../../base/macros.h:27:3: note: in definition of macro 'DISALLOW_COPY'
   TypeName(const TypeName&) = delete
   ^~~~~~~~
../../mojo/public/cpp/bindings/struct_ptr.h:110:3: note: in expansion of macro 'DISALLOW_COPY_AND_ASSIGN'
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../buildtools/third_party/libc++/trunk/include/functional:487:0,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom-shared.h:10,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom-shared.cc:10:
../../buildtools/third_party/libc++/trunk/include/memory:1759:13: error: use of deleted function 'mojo::StructPtr<S>::StructPtr(const mojo::StructPtr<S>&) [with S = mojo::native::SerializedHandle]'
             ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../base/logging.h:21:0,
                 from ../../mojo/public/cpp/bindings/lib/array_internal.h:14,
                 from ../../mojo/public/cpp/bindings/array_data_view.h:10,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom-shared.h:16,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom-shared.cc:10:
../../mojo/public/cpp/bindings/struct_ptr.h:110:28: note: declared here
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
                            ^
../../base/macros.h:27:3: note: in definition of macro 'DISALLOW_COPY'
   TypeName(const TypeName&) = delete
   ^~~~~~~~
../../mojo/public/cpp/bindings/struct_ptr.h:110:3: note: in expansion of macro 'DISALLOW_COPY_AND_ASSIGN'
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
   ^~~~~~~~~~~~~~~~~~~~~~~~
[146/30365] CXX obj/chrome/common/ini_parser/ini_parser.o
In file included from ../../buildtools/third_party/libc++/trunk/include/__config:300:0,
                 from ../../buildtools/third_party/libc++/trunk/include/string:469,
                 from ../../chrome/common/ini_parser.h:8,
                 from ../../chrome/common/ini_parser.cc:5:
/usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp]
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
  ^~~~~~~
[147/30365] CXX obj/chrome/browser/ui/webui/discards/mojo_bindings/discards.mojom.o
FAILED: obj/chrome/browser/ui/webui/discards/mojo_bindings/discards.mojom.o 
g++ -MMD -MF obj/chrome/browser/ui/webui/discards/mojo_bindings/discards.mojom.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -DNO_TCMALLOC -DFULL_SAFE_BROWSING -DSAFE_BROWSING_CSD -DSAFE_BROWSING_DB_LOCAL -DCHROMIUM_BUILD -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D_FORTIFY_SOURCE=2 -D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS -D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -I../.. -Igen -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fstack-protector -Wno-builtin-macro-redefined -D__DATE__= -D__TIME__= -D__TIMESTAMP__= -funwind-tables -fPIC -pipe -pthread -m64 -march=x86-64 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fno-builtin-abs -fvisibility=hidden -std=gnu++14 -fno-delete-null-pointer-checks -Wno-narrowing -fno-exceptions -fno-rtti -nostdinc++ -isystem../../buildtools/third_party/libc++/trunk/include -isystem../../buildtools/third_party/libc++abi/trunk/include -fvisibility-inlines-hidden -c gen/chrome/browser/ui/webui/discards/discards.mojom.cc -o obj/chrome/browser/ui/webui/discards/mojo_bindings/discards.mojom.o
In file included from ../../buildtools/third_party/libc++/trunk/include/__config:300:0,
                 from ../../buildtools/third_party/libc++/trunk/include/stdint.h:102,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom.h:8,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom.cc:15:
/usr/include/sys/cdefs.h:1:2: warning: #warning usage of non-standard #include <sys/cdefs.h> is deprecated [-Wcpp]
 #warning usage of non-standard #include <sys/cdefs.h> is deprecated
  ^~~~~~~
In file included from ../../buildtools/third_party/libc++/trunk/include/algorithm:643:0,
                 from ../../buildtools/third_party/libc++/trunk/include/__string:56,
                 from ../../buildtools/third_party/libc++/trunk/include/string_view:169,
                 from ../../buildtools/third_party/libc++/trunk/include/string:470,
                 from ../../buildtools/third_party/libc++/trunk/include/__locale:15,
                 from ../../buildtools/third_party/libc++/trunk/include/ios:216,
                 from ../../buildtools/third_party/libc++/trunk/include/ostream:138,
                 from ../../buildtools/third_party/libc++/trunk/include/sstream:174,
                 from ../../base/logging.h:12,
                 from ../../base/memory/ref_counted.h:15,
                 from ../../base/callback_internal.h:14,
                 from ../../base/callback.h:9,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom.h:14,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom.cc:15:
../../buildtools/third_party/libc++/trunk/include/memory: In instantiation of 'void std::__1::allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Tp = mojo::StructPtr<mojo::native::SerializedHandle>]':
../../buildtools/third_party/libc++/trunk/include/memory:1670:14:   required from 'static void std::__1::allocator_traits<_Alloc>::__construct(std::__1::true_type, std::__1::allocator_traits<_Alloc>::allocator_type&, _Tp*, _Args&& ...) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::true_type = std::__1::integral_constant<bool, true>; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/memory:1516:25:   required from 'static void std::__1::allocator_traits<_Alloc>::construct(std::__1::allocator_traits<_Alloc>::allocator_type&, _Tp*, _Args&& ...) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {mojo::StructPtr<mojo::native::SerializedHandle>&}; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/memory:1600:26:   required from 'static void std::__1::allocator_traits<_Alloc>::__construct_range_forward(std::__1::allocator_traits<_Alloc>::allocator_type&, _Iter, _Iter, _Ptr&) [with _Iter = mojo::StructPtr<mojo::native::SerializedHandle>*; _Ptr = mojo::StructPtr<mojo::native::SerializedHandle>*; _Alloc = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; std::__1::allocator_traits<_Alloc>::allocator_type = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/vector:1030:46:   required from 'typename std::__1::enable_if<std::__1::__is_forward_iterator<_ForwardIterator>::value, void>::type std::__1::vector<_Tp, _Alloc>::__construct_at_end(_ForwardIterator, _ForwardIterator, std::__1::vector<_Tp, _Alloc>::size_type) [with _ForwardIterator = mojo::StructPtr<mojo::native::SerializedHandle>*; _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Allocator = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >; typename std::__1::enable_if<std::__1::__is_forward_iterator<_ForwardIterator>::value, void>::type = void; std::__1::vector<_Tp, _Alloc>::size_type = long unsigned int]'
../../buildtools/third_party/libc++/trunk/include/vector:1213:27:   required from 'std::__1::vector<_Tp, _Alloc>::vector(const std::__1::vector<_Tp, _Alloc>&) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _Allocator = std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]'
../../buildtools/third_party/libc++/trunk/include/type_traits:3295:29:   required from 'struct std::__1::is_trivially_constructible<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> >, const std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle>, std::__1::allocator<mojo::StructPtr<mojo::native::SerializedHandle> > >&>'
../../buildtools/third_party/libc++/trunk/include/type_traits:3433:50:   required from 'struct std::__1::is_trivially_copy_constructible<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
../../base/optional.h:247:22:   required from 'class base::internal::OptionalBase<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
../../base/optional.h:264:7:   required from 'class base::Optional<std::__1::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >'
gen/mojo/public/interfaces/bindings/native_struct.mojom.h:268:52:   required from here
../../buildtools/third_party/libc++/trunk/include/memory:1759:13: error: 'mojo::StructPtr<S>::StructPtr(const mojo::StructPtr<S>&) [with S = mojo::native::SerializedHandle]' is private within this context
             ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../base/callback_internal.h:13:0,
                 from ../../base/callback.h:9,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom.h:14,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom.cc:15:
../../mojo/public/cpp/bindings/struct_ptr.h:110:28: note: declared private here
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
                            ^
../../base/macros.h:27:3: note: in definition of macro 'DISALLOW_COPY'
   TypeName(const TypeName&) = delete
   ^~~~~~~~
../../mojo/public/cpp/bindings/struct_ptr.h:110:3: note: in expansion of macro 'DISALLOW_COPY_AND_ASSIGN'
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
   ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../buildtools/third_party/libc++/trunk/include/algorithm:643:0,
                 from ../../buildtools/third_party/libc++/trunk/include/__string:56,
                 from ../../buildtools/third_party/libc++/trunk/include/string_view:169,
                 from ../../buildtools/third_party/libc++/trunk/include/string:470,
                 from ../../buildtools/third_party/libc++/trunk/include/__locale:15,
                 from ../../buildtools/third_party/libc++/trunk/include/ios:216,
                 from ../../buildtools/third_party/libc++/trunk/include/ostream:138,
                 from ../../buildtools/third_party/libc++/trunk/include/sstream:174,
                 from ../../base/logging.h:12,
                 from ../../base/memory/ref_counted.h:15,
                 from ../../base/callback_internal.h:14,
                 from ../../base/callback.h:9,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom.h:14,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom.cc:15:
../../buildtools/third_party/libc++/trunk/include/memory:1759:13: error: use of deleted function 'mojo::StructPtr<S>::StructPtr(const mojo::StructPtr<S>&) [with S = mojo::native::SerializedHandle]'
             ::new((void*)__p) _Up(_VSTD::forward<_Args>(__args)...);
             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../base/callback_internal.h:13:0,
                 from ../../base/callback.h:9,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom.h:14,
                 from gen/chrome/browser/ui/webui/discards/discards.mojom.cc:15:
../../mojo/public/cpp/bindings/struct_ptr.h:110:28: note: declared here
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
                            ^
../../base/macros.h:27:3: note: in definition of macro 'DISALLOW_COPY'
   TypeName(const TypeName&) = delete
   ^~~~~~~~
../../mojo/public/cpp/bindings/struct_ptr.h:110:3: note: in expansion of macro 'DISALLOW_COPY_AND_ASSIGN'
   DISALLOW_COPY_AND_ASSIGN(StructPtr);
   ^~~~~~~~~~~~~~~~~~~~~~~~
[151/30365] ACTION //chrome/browser/metrics:expired_histograms_array(//build/toolchain/linux:x64)
ninja: build stopped: subcommand failed.
e>

#2 Updated by Seth Westphal 10 months ago

"Clang is the main supported compiler when building Chromium on all platforms."

https://chromium.googlesource.com/chromium/src/+/lkcr/docs/clang.md#Build-instructions

Also available in: Atom PDF