| Summary: |
www-client/chromium-65.0.3325.106 with gcc-7.3.0 - error: ‘mojo::StructPtr<S>::StructPtr(const mojo::StructPtr<S>&) [with S = mojo::native::SerializedHandle]’ is private within this context |
| Product: |
Gentoo Linux
|
Reporter: |
Mike Gilbert <floppym> |
| Component: |
Current packages | Assignee: |
Chromium Project <chromium> |
| Status: |
RESOLVED
OBSOLETE
|
|
|
| Severity: |
normal
|
CC: |
balint, info, yorik.sar+gentoo-bugs
|
| Priority: |
Normal
|
|
|
| Version: |
unspecified | |
|
| Hardware: |
All | |
|
| OS: |
Linux | |
|
| Whiteboard: |
|
|
Package list:
|
|
Runtime testing required:
|
---
|
| Attachments: |
build log
|
FAILED: obj/components/payments/mojom/mojom_shared_cpp_sources/payment_request_data.mojom-shared.o x86_64-pc-linux-gnu-g++ -MMD -MF obj/components/payments/mojom/mojom_shared_cpp_sources/payment_request_data.mojom-shared.o.d -DV8_DEPRECATION_WARNINGS -DUSE_UDEV -DUSE_AURA=1 -DUSE_GLIB=1 -DUSE_NSS_CERTS=1 -DUSE_X11=1 -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 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTA TIONS_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/lib64/glib-2.0/include -fno-strict-aliasing --param=ssp-buffer-size=4 -fst ack-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 -fvisibility=hidden -std=gnu++14 -Wno-narrowing -fno-excepti ons -fno-rtti -fvisibility-inlines-hidden -O2 -pipe -march=amdfam10 -c gen/components/payments/mojom/payment_request_data.mojom-shared.cc -o obj/components/payments/mojom/mojom_shared_cpp_sources/payment_request_data.mojom-sha red.o In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/memory:64:0, from ../../mojo/public/cpp/system/buffer.h:17, from ../../mojo/public/cpp/system/core.h:8, from ../../mojo/public/cpp/bindings/lib/bindings_internal.h:16, from ../../mojo/public/cpp/bindings/lib/array_internal.h:18, from ../../mojo/public/cpp/bindings/array_data_view.h:10, from gen/components/payments/mojom/payment_request_data.mojom-shared.h:16, from gen/components/payments/mojom/payment_request_data.mojom-shared.cc:10: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_construct.h: In instantiation of ‘void std::_Construct(_T1*, _Args&& ...) [with _T1 = mojo::StructPtr<mojo::native::SerializedHandle>; _Args = {const mojo::StructP tr<mojo::native::SerializedHandle>&}]’: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_uninitialized.h:83:18: required from ‘static _ForwardIterator std::__uninitialized_copy<_TrivialValueTypes>::__uninit_copy(_InputIterator, _InputIterator, _Forwa rdIterator) [with _InputIterator = __gnu_cxx::__normal_iterator<const mojo::StructPtr<mojo::native::SerializedHandle>*, std::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >; _ForwardIterator = mojo::StructPtr<mojo:: native::SerializedHandle>*; bool _TrivialValueTypes = false]’ /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_uninitialized.h:134:15: required from ‘_ForwardIterator std::uninitialized_copy(_InputIterator, _InputIterator, _ForwardIterator) [with _InputIterator = __gnu_cx x::__normal_iterator<const mojo::StructPtr<mojo::native::SerializedHandle>*, std::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >; _ForwardIterator = mojo::StructPtr<mojo::native::SerializedHandle>*]’ /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_uninitialized.h:289:37: required from ‘_ForwardIterator std::__uninitialized_copy_a(_InputIterator, _InputIterator, _ForwardIterator, std::allocator<_Tp>&) [with _InputIterator = __gnu_cxx::__normal_iterator<const mojo::StructPtr<mojo::native::SerializedHandle>*, std::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >; _ForwardIterator = mojo::StructPtr<mojo::native::Serialize dHandle>*; _Tp = mojo::StructPtr<mojo::native::SerializedHandle>]’ /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_vector.h:331:31: required from ‘std::vector<_Tp, _Alloc>::vector(const std::vector<_Tp, _Alloc>&) [with _Tp = mojo::StructPtr<mojo::native::SerializedHandle>; _A lloc = std::allocator<mojo::StructPtr<mojo::native::SerializedHandle> >]’ /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/type_traits:1406:12: required from ‘struct std::is_trivially_copy_constructible<std::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >’ ../../base/optional.h:247:22: required from ‘class base::internal::OptionalBase<std::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >’ ../../base/optional.h:264:7: required from ‘class base::Optional<std::vector<mojo::StructPtr<mojo::native::SerializedHandle> > >’ gen/mojo/public/interfaces/bindings/native_struct.mojom.h:268:52: required from here /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_construct.h:75:7: error: ‘mojo::StructPtr<S>::StructPtr(const mojo::StructPtr<S>&) [with S = mojo::native::SerializedHandle]’ is private within this context { ::new(static_cast<void*>(__p)) _T1(std::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/components/payments/mojom/payment_request_data.mojom-shared.h:16, from gen/components/payments/mojom/payment_request_data.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 /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/memory:64:0, from ../../mojo/public/cpp/system/buffer.h:17, from ../../mojo/public/cpp/system/core.h:8, from ../../mojo/public/cpp/bindings/lib/bindings_internal.h:16, from ../../mojo/public/cpp/bindings/lib/array_internal.h:18, from ../../mojo/public/cpp/bindings/array_data_view.h:10, from gen/components/payments/mojom/payment_request_data.mojom-shared.h:16, from gen/components/payments/mojom/payment_request_data.mojom-shared.cc:10: /usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/include/g++-v7/bits/stl_construct.h:75:7: error: use of deleted function ‘mojo::StructPtr<S>::StructPtr(const mojo::StructPtr<S>&) [with S = mojo::native::SerializedHandle]’ { ::new(static_cast<void*>(__p)) _T1(std::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/components/payments/mojom/payment_request_data.mojom-shared.h:16, from gen/components/payments/mojom/payment_request_data.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); ^~~~~~~~~~~~~~~~~~~~~~~~