1 |
On Wed, May 10, 2017 at 02:15:23PM -0400, Walter Dnes wrote |
2 |
> On Mon, May 08, 2017 at 07:55:30AM +0200, Raffaele Belardi wrote |
3 |
> |
4 |
> Bringing a 2008 Core2 duo back into use. I ran into major problems |
5 |
> with graphite optimizations. So I re-installed without graphite. |
6 |
> |
7 |
> I copied over most of the world file from my current desktop (GCC |
8 |
> 5.4.0) and tried it on the totally GCC 6.3.0 system (without graphite). |
9 |
> Two problems... |
10 |
> |
11 |
> 1) icewm (This would be a showstopper) |
12 |
> |
13 |
> icesh.cc:249:1: error: narrowing conversion of '4294967295ul' from 'long unsigned int' to 'long int' inside { } [-Wnarrowing] |
14 |
> }; |
15 |
> ^ |
16 |
> icesh.cc:261:1: error: narrowing conversion of '4294967295ul' from 'long unsigned int' to 'long int' inside { } [-Wnarrowing] |
17 |
> }; |
18 |
> ^ |
19 |
|
20 |
A bit more Google-fu turned up the answer. |
21 |
|
22 |
Step 1) |
23 |
mkdir /etc/portage/env |
24 |
echo 'CXXFLAGS="${CXXFLAGS} -Wno-narrowing"' > /etc/portage/env/narrowing |
25 |
|
26 |
Step 2) |
27 |
create/edit /etc/portage/package.env adding the 2 lines |
28 |
|
29 |
games-board/xfreecell narrowing |
30 |
x11-wm/icewm narrowing |
31 |
|
32 |
-- |
33 |
Walter Dnes <waltdnes@××××××××.org> |
34 |
I don't run "desktop environments"; I run useful applications |