https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: games-util/antimicro-2.23 fails to compile with gcc-11. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
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(+)