Summary: | dev-libs/cyberjack-3.99.5_p13: ntstatus.h: error: narrowing conversion of ‘XXXXXXXXXX’ from ‘uint32_t’ {aka ‘unsigned int’} to ‘int’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Conrad Kostecki <conikost> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | plevine457 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=706426 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
cyberjack-3.99.5_p14-narrowing-cast.patch |
Description
Agostino Sarubbo
2020-05-14 08:42:19 UTC
Created attachment 638830 [details]
build.log
build log and emerge --info
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d46a4b603f00c950de55b62c12c09dd4414652f3 commit d46a4b603f00c950de55b62c12c09dd4414652f3 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2020-05-14 22:08:28 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2020-05-14 22:09:53 +0000 dev-libs/cyberjack: add workaround for gcc10 Add workaround for GCC-10, by defining narrowing as warning like GCC-9 did. Upstream is informed, so hopefully there will be a proper fix in future. Bug: https://bugs.gentoo.org/722962 Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-libs/cyberjack/cyberjack-3.99.5_p13.ebuild | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) Created attachment 644614 [details, diff]
cyberjack-3.99.5_p14-narrowing-cast.patch
Casts the switch value to the underlying type of its case values.
Thanks. Looks good to me and works for me. Will merge it. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29b4ca712f67c29c464c3f62922e7532d1b1df29 commit 29b4ca712f67c29c464c3f62922e7532d1b1df29 Author: Conrad Kostecki <conikost@gentoo.org> AuthorDate: 2020-06-19 21:55:51 +0000 Commit: Conrad Kostecki <conikost@gentoo.org> CommitDate: 2020-06-19 21:55:51 +0000 dev-libs/cyberjack: add patch for gcc10 Add a proper patch for compiling with gcc10. Closes: https://bugs.gentoo.org/722962 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Conrad Kostecki <conikost@gentoo.org> dev-libs/cyberjack/cyberjack-3.99.5_p14.ebuild | 8 +------- dev-libs/cyberjack/files/cyberjack-3.99.5_p14-gcc10.patch | 13 +++++++++++++ 2 files changed, 14 insertions(+), 7 deletions(-) |