New issue
Advanced search Search tips

Issue 844355 link

Starred by 1 user

Issue metadata

Status: Duplicate
Merged: issue 843143
Owner: ----
Closed: May 2018
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Build error about “defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification”

Reported by wangqing...@loongson.cn, May 18 2018

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3189.0 Safari/537.36

Steps to reproduce the problem:
Build chrome
$ ninja -C out/Release chrome

What is the expected behavior?
build success.

What went wrong?
FAILED: obj/components/search_provider_logos/search_provider_logos/logo_common.o 
mips64el-linux-gnu-g++ -MMD -MF obj/components/search_provider_logos/search_provider_logos/logo_common.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 -DCR_LIBCXX_REVISION=329375 -DCR_LIBCXXABI_REVISION=331450 -DNDEBUG -DNVALGRIND -DDYNAMIC_ANNOTATIONS_ENABLED=0 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_32 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_26 -DWEBP_EXTERN=extern -DTOOLKIT_VIEWS=1 -DGL_GLEXT_PROTOTYPES -DUSE_GLX -DUSE_EGL -DSK_IGNORE_LINEONLY_AA_CONVEX_PATH_OPTS -DSK_HAS_PNG_LIBRARY -DSK_HAS_WEBP_LIBRARY -DSK_HAS_JPEG_LIBRARY -DSK_SUPPORT_GPU=1 -DSK_GPU_WORKAROUNDS_HEADER=\"gpu/config/gpu_driver_bug_workaround_autogen.h\" -DGOOGLE_PROTOBUF_NO_RTTI -DGOOGLE_PROTOBUF_NO_STATIC_INITIALIZER -DHAVE_PTHREAD -DU_USING_ICU_NAMESPACE=0 -DU_ENABLE_DYLOAD=0 -DU_STATIC_IMPLEMENTATION -DICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_FILE -DUCHAR_TYPE=uint16_t -I../.. -Igen -I../../third_party/libwebp/src -I../../third_party/khronos -I../../gpu -I../../third_party/libyuv/include -I../../skia/config -I../../skia/ext -I../../third_party/skia/include/c -I../../third_party/skia/include/config -I../../third_party/skia/include/core -I../../third_party/skia/include/effects -I../../third_party/skia/include/encode -I../../third_party/skia/include/gpu -I../../third_party/skia/include/images -I../../third_party/skia/include/lazy -I../../third_party/skia/include/pathops -I../../third_party/skia/include/pdf -I../../third_party/skia/include/pipe -I../../third_party/skia/include/ports -I../../third_party/skia/include/utils -I../../third_party/skia/src/gpu -I../../third_party/skia/src/sksl -I../../third_party/protobuf/src -Igen/protoc_out -I../../third_party/protobuf/src -I../../third_party/boringssl/src/include -I../../third_party/icu/source/common -I../../third_party/icu/source/i18n -Igen/third_party/metrics_proto -I../../third_party/cacheinvalidation/overrides -I../../third_party/cacheinvalidation/src -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 -EL -mabi=64 -mips64r2 -Wa,-mips64r2 -Wall -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wno-deprecated-declarations -fno-delete-null-pointer-checks -Wno-comments -Wno-missing-field-initializers -Wno-unused-parameter -O2 -fno-ident -fdata-sections -ffunction-sections -fno-omit-frame-pointer -g0 -fno-builtin-abs -fvisibility=hidden -isystem../../../../../../../usr/include/glib-2.0 -isystem../../../../../../../usr/lib64/glib-2.0/include -isystem../../../../../../../usr/include/nss3 -isystem../../../../../../../usr/include/nspr4 -std=gnu++14 -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 ../../components/search_provider_logos/logo_common.cc -o obj/components/search_provider_logos/search_provider_logos/logo_common.o
../../components/search_provider_logos/logo_common.cc:17:15: error: function ‘search_provider_logos::LogoMetadata& search_provider_logos::LogoMetadata::operator=(search_provider_logos::LogoMetadata&&)’ defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ‘’
 LogoMetadata& LogoMetadata::operator=(LogoMetadata&&) noexcept = default;
               ^
../../components/search_provider_logos/logo_common.cc:31:1: error: function ‘search_provider_logos::LogoCallbacks::LogoCallbacks(search_provider_logos::LogoCallbacks&&)’ defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ‘’
 LogoCallbacks::LogoCallbacks(LogoCallbacks&&) noexcept = default;
 ^
../../components/search_provider_logos/logo_common.cc:32:16: error: function ‘search_provider_logos::LogoCallbacks& search_provider_logos::LogoCallbacks::operator=(search_provider_logos::LogoCallbacks&&)’ defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ‘’
 LogoCallbacks& LogoCallbacks::operator=(LogoCallbacks&&) noexcept = default;

Did this work before? N/A 

Chrome version: lastest  Channel: n/a
OS Version: Fedora 21
Flash Version:
 

Comment 1 by bauerb@chromium.org, May 18 2018

Mergedinto: 843143
Status: Duplicate (was: Unconfirmed)
Project Member

Comment 2 by bugdroid1@chromium.org, May 18 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/122692ccee62223f266a988c575ae687e3f4c056

commit 122692ccee62223f266a988c575ae687e3f4c056
Author: Wang Qing <wangqing-hf@loongson.cn>
Date: Fri May 18 11:20:09 2018

Remove noexcept from file "components/search_provider_logos/logo_common.cc".

This fixes the build error with the following message:

        ../../components/search_provider_logos/logo_common.cc:17:15: error: function ‘search_provider_logos::LogoMetadata& search_provider_logos::LogoMetadata::operator=(search_provider_logos::LogoMetadata&&)’ defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ‘’
        LogoMetadata& LogoMetadata::operator=(LogoMetadata&&) noexcept = default;
                   ^
        ../../components/search_provider_logos/logo_common.cc:31:1: error: function ‘search_provider_logos::LogoCallbacks::LogoCallbacks(search_provider_logos::LogoCallbacks&&)’ defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ‘’
        LogoCallbacks::LogoCallbacks(LogoCallbacks&&) noexcept = default;
        ^
        ../../components/search_provider_logos/logo_common.cc:32:16: error: function ‘search_provider_logos::LogoCallbacks& search_provider_logos::LogoCallbacks::operator=(search_provider_logos::LogoCallbacks&&)’ defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ‘’
        LogoCallbacks& LogoCallbacks::operator=(LogoCallbacks&&) noexcept = default;

BUG=  844355 
R= bauerb@chromium.org

Change-Id: I084d0d22f8a2cc976f5f8b24a8c623cd38f86876
Reviewed-on: https://chromium-review.googlesource.com/1065521
Reviewed-by: Bernhard Bauer <bauerb@chromium.org>
Commit-Queue: 汪 清 <wangqing-hf@loongson.cn>
Cr-Commit-Position: refs/heads/master@{#559859}
[modify] https://crrev.com/122692ccee62223f266a988c575ae687e3f4c056/components/search_provider_logos/logo_common.cc

Build chromium also occurs errors as follows:
../../components/viz/service/frame_sinks/video_capture/interprocess_frame_pool.cc:210:1: error: function ‘viz::InterprocessFramePool::PooledBuffer::PooledBuffer(viz::InterprocessFramePool::PooledBuffer&&)’ defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ‘’
 InterprocessFramePool::PooledBuffer::PooledBuffer(
 ^
../../components/viz/service/frame_sinks/video_capture/interprocess_frame_pool.cc:212:38: error: function ‘viz::InterprocessFramePool::PooledBuffer& viz::InterprocessFramePool::PooledBuffer::operator=(viz::InterprocessFramePool::PooledBuffer&&)’ defaulted on its redeclaration with an exception-specification that differs from the implicit exception-specification ‘’
 InterprocessFramePool::PooledBuffer& InterprocessFramePool::PooledBuffer::

Sign in to add a comment