Created attachment 476226 [details] emerge --info Blocks https://bugs.gentoo.org/show_bug.cgi?id=gcc-6 The following happens in both x86 and AMD64. icesh.cc:249:1: error: narrowing conversion of '4294967295ul' from 'long unsigned int' to 'long int' inside { } [-Wnarrowing] icesh.cc:261:1: error: narrowing conversion of '4294967295ul' from 'long unsigned int' to 'long int' inside { } [-Wnarrowing] Build log and emerge --info attached
Created attachment 476228 [details] Failed build log
Thank you. Do you have the chance, to test x11-wm/icewm-1.3.12-r1 too? https://github.com/bbidulock/icewm/blob/icewm-1-3-BRANCH/src/icesh.cc
(In reply to Jonas Stein from comment #2) > Thank you. > Do you have the chance, to test x11-wm/icewm-1.3.12-r1 too? Thank you for the suggestion. I keyworded x11-wm/icewm-1.3.12-r1 and built it a few minutes ago. It builds OK under GCC 6.3.0, and seems to run fine, although I've only tested it for a few minutes. Maybe the best solution for this bug is to stabilize x11-wm/icewm-1.3.12-r1.
Created attachment 485624 [details, diff] icewm-1.3.8-gcc6.patch I believe this error should only happen on platforms that define a long int to be 32 bits. Unfortunately, on mine it's 64 bits so I'm not able to confirm that this patch works. Could someone who notices the bug (especially on x86 arch) test this please?
(In reply to Peter Levine from comment #4) > Created attachment 485624 [details, diff] [details, diff] > icewm-1.3.8-gcc6.patch > > I believe this error should only happen on platforms that define a long int > to be 32 bits. Unfortunately, on mine it's 64 bits so I'm not able to > confirm that this patch works. > > Could someone who notices the bug (especially on x86 arch) test this please? Not so many x86 around anymore, sorry. Stabilizing 12-r1 will be faster; thanks anyway for all of your patches.