On Wed, May 10, 2017 at 02:15:23PM -0400, Walter Dnes wrote
> On Mon, May 08, 2017 at 07:55:30AM +0200, Raffaele Belardi wrote
>
> Bringing a 2008 Core2 duo back into use. I ran into major problems
> with graphite optimizations. So I re-installed without graphite.
>
> I copied over most of the world file from my current desktop (GCC
> 5.4.0) and tried it on the totally GCC 6.3.0 system (without graphite).
> Two problems...
>
> 1) icewm (This would be a showstopper)
>
> 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]
> };
> ^
A bit more Google-fu turned up the answer.
Step 1)
mkdir /etc/portage/env
echo 'CXXFLAGS="${CXXFLAGS} -Wno-narrowing"' > /etc/portage/env/narrowing
Step 2)
create/edit /etc/portage/package.env adding the 2 lines
games-board/xfreecell narrowing
x11-wm/icewm narrowing
--
Walter Dnes <[email protected]>
I don't run "desktop environments"; I run useful applications