Created attachment 558456 [details] emerge --info dev-libs/rapidjson-1.1.0-r1[examples] fails to compile with Gcc 8, gcc 7 is fine: > /var/tmp/portage/dev-libs/rapidjson-1.1.0-r1/work/rapidjson-1.1.0/include/rapidjson/document.h:1939:24: error: 'void* memcpy(void*, const void*, size_t)' writing to an object of type 'class rapidjson::GenericValue<rapidjson::UTF8<> >' with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Werror=class-memaccess] > std::memcpy(e, values, count * sizeof(GenericValue));
Created attachment 558458 [details] build.log
Primary cause of failure is use of -Werror in builds: """ Compiler flags: C C++ -march=native -O2 -pipe -fomit-frame-pointer -march=native -Wall -Wextra -Werror -std=c++11 """
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6485336b09976be119a81315a717e3bced97378 commit a6485336b09976be119a81315a717e3bced97378 Author: Craig Andrews <candrews@gentoo.org> AuthorDate: 2018-12-27 21:57:15 +0000 Commit: Craig Andrews <candrews@gentoo.org> CommitDate: 2018-12-27 21:57:41 +0000 dev-libs/rapidjson: Fix USE=examples with >=gcc-8 Closes: https://bugs.gentoo.org/673698 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: Craig Andrews <candrews@gentoo.org> dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild | 7 +++++++ dev-libs/rapidjson/rapidjson-9999.ebuild | 13 ++++++++++++- 2 files changed, 19 insertions(+), 1 deletion(-)