Summary: | games-util/antimicro-2.23 fails to compile with gcc-11 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Agostino Sarubbo <ago> |
Component: | Current packages | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 732706 | ||
Attachments: | build.log |
Description
Agostino Sarubbo
2021-05-19 20:11:34 UTC
Created attachment 709929 [details]
build.log
build log and emerge --info
Possible context of error(s): /var/tmp/portage/games-util/antimicro-2.23/work/antimicro-2.23/src/mainwindow.cpp:367:19: error: ordered comparison of pointer with integer zero (‘QMap<int, InputDevice*>*’ and ‘int’) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92ba03cd5810614dd2175279b149858d4d1b5d5a commit 92ba03cd5810614dd2175279b149858d4d1b5d5a Author: Sam James <sam@gentoo.org> AuthorDate: 2021-06-13 15:31:20 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2021-06-13 17:13:49 +0000 games-util/antimicro: fix build with GCC 11 Comparing pointer with 0. Check the size of the underlying structure instead. Closes: https://bugs.gentoo.org/791145 Signed-off-by: Sam James <sam@gentoo.org> games-util/antimicro/antimicro-2.23.ebuild | 1 + .../antimicro/files/antimicro-2.23-gcc11-ptr-compare.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) |