Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 659170 - dev-libs/rapidjson-1.1.0 : /.../regex.h:301:21: error: this statement may fall through [-Werror=implicit-fallthrough=]
Summary: dev-libs/rapidjson-1.1.0 : /.../regex.h:301:21: error: this statement may fal...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-25 19:11 UTC by Toralf Förster
Modified: 2018-06-25 19:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.49 KB, text/plain)
2018-06-25 19:11 UTC, Toralf Förster
Details
dev-libs:rapidjson-1.1.0:20180625-014604.log (dev-libs:rapidjson-1.1.0:20180625-014604.log,28.61 KB, text/plain)
2018-06-25 19:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,78.37 KB, text/plain)
2018-06-25 19:11 UTC, Toralf Förster
Details
environment (environment,110.02 KB, text/plain)
2018-06-25 19:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.12 KB, application/x-bzip)
2018-06-25 19:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,3.77 KB, application/x-bzip)
2018-06-25 19:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.20 KB, application/x-bzip)
2018-06-25 19:11 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-06-25 19:11:06 UTC
                 from /var/tmp/portage/dev-libs/rapidjson-1.1.0/work/rapidjson-1.1.0/example/schemavalidator/schemavalidator.cpp:7:
/var/tmp/portage/dev-libs/rapidjson-1.1.0/work/rapidjson-1.1.0/include/rapidjson/internal/regex.h: In member function ‘void rapidjson::internal::GenericRegex<Encoding, Allocator>::Parse(rapidjson::internal::GenericRegex<Encoding, Allocator>::DecodedStream<InputStream>&) [with InputStream = rapidjson::GenericStringStream<rapidjson::UTF8<> >; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::CrtAllocator]’:
/var/tmp/portage/dev-libs/rapidjson-1.1.0/work/rapidjson-1.1.0/include/rapidjson/internal/regex.h:301:21: error: this statement may fall through [-Werror=implicit-fallthrough=]
                     if (!CharacterEscape(ds, &codepoint))
                     ^~
/var/tmp/portage/dev-libs/rapidjson-1.1.0/work/rapidjson-1.1.0/include/rapidjson/internal/regex.h:305:17: note: here

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_libressl_20180623-161201

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *



emerge -qpv dev-libs/rapidjson
[ebuild  N    ] dev-libs/rapidjson-1.1.0  USE="examples -doc {-test}"
Comment 1 Toralf Förster gentoo-dev 2018-06-25 19:11:09 UTC
Created attachment 537238 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-06-25 19:11:11 UTC
Created attachment 537240 [details]
dev-libs:rapidjson-1.1.0:20180625-014604.log
Comment 3 Toralf Förster gentoo-dev 2018-06-25 19:11:14 UTC
Created attachment 537242 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-06-25 19:11:17 UTC
Created attachment 537244 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-06-25 19:11:20 UTC
Created attachment 537246 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-06-25 19:11:23 UTC
Created attachment 537248 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-06-25 19:11:25 UTC
Created attachment 537250 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2018-06-25 19:40:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccaf30cef6253b2071e1d8796003b0cae04767a9

commit ccaf30cef6253b2071e1d8796003b0cae04767a9
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2018-06-25 19:40:02 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2018-06-25 19:40:20 +0000

    dev-libs/rapidjson: Fix "this statement may fall through" error
    
    Closes: https://bugs.gentoo.org/659170
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../rapidjson/files/rapidjson-1.1.0-gcc-7.patch    | 46 ++++++++++++++++++++++
 dev-libs/rapidjson/rapidjson-1.1.0-r1.ebuild       | 44 +++++++++++++++++++++
 2 files changed, 90 insertions(+)