Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] world rebuild with gcc-6.3.0 - not completely there yet
Date: Wed, 10 May 2017 18:16:01
Message-Id: 20170510181523.GA27581@waltdnes.org
In Reply to: [gentoo-user] world rebuild with gcc-6.3.0 - not completely there yet by Raffaele Belardi
1 On Mon, May 08, 2017 at 07:55:30AM +0200, Raffaele Belardi wrote
2
3 Bringing a 2008 Core2 duo back into use. I ran into major problems
4 with graphite optimizations. So I re-installed without graphite.
5
6 I copied over most of the world file from my current desktop (GCC
7 5.4.0) and tried it on the totally GCC 6.3.0 system (without graphite).
8 Two problems...
9
10 1) icewm (This would be a showstopper)
11
12 icesh.cc:249:1: error: narrowing conversion of '4294967295ul' from 'long unsigned int' to 'long int' inside { } [-Wnarrowing]
13 };
14 ^
15 icesh.cc:261:1: error: narrowing conversion of '4294967295ul' from 'long unsigned int' to 'long int' inside { } [-Wnarrowing]
16 };
17 ^
18
19 2) xfreecell
20
21 A whole slew of stuff like...
22
23 boundingMask.bm:108:38: error: narrowing conversion of '224' from 'int' to 'char
24 ' inside { } [-Wnarrowing]
25 0xff, 0xff, 0xff, 0xff, 0xff, 0x03};
26 ^
27 boundingMask.bm:108:38: error: narrowing conversion of '255' from 'int' to 'char
28 ' inside { } [-Wnarrowing]
29
30 Is there a way to turn off the "-Wnarrowing" check? If I can do that,
31 the next step would be to create custom build environments, with
32 modified CFLAGS/CXXFLAGS as per https://wiki.gentoo.org/wiki/Knowledge_Base:Overriding_environment_variables_per_package
33
34 Is this sloppy programming that should be reported as a bug?
35
36 --
37 Walter Dnes <waltdnes@××××××××.org>
38 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] world rebuild with gcc-6.3.0 - not completely there yet Walter Dnes <waltdnes@××××××××.org>