Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612986 - games-util/atlas-0.5.1_beta_pre20160907 : tiles.h:182:272: error: narrowing conversion of ‘255’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
Summary: games-util/atlas-0.5.1_beta_pre20160907 : tiles.h:182:272: error: narrowing c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Maciej Mrozowski
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-18 08:29 UTC by Toralf Förster
Modified: 2017-04-17 07:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,5.62 KB, text/plain)
2017-03-18 08:29 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,8.77 KB, application/x-bzip)
2017-03-18 08:29 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,375.36 KB, text/plain)
2017-03-18 08:29 UTC, Toralf Förster
Details
environment (environment,104.58 KB, text/plain)
2017-03-18 08:29 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.52 KB, application/x-bzip)
2017-03-18 08:29 UTC, Toralf Förster
Details
games-util:atlas-0.5.1_beta_pre20160907:20170318-082427.log (games-util:atlas-0.5.1_beta_pre20160907:20170318-082427.log,490.19 KB, text/plain)
2017-03-18 08:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.91 KB, application/x-bzip)
2017-03-18 08:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-03-18 08:29:31 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -std=c++11 -DFGBASE_DIR='"/usr/share/flightgear"' -c -o Tiles.o Tiles.cxx
In file included from Tiles.cxx:26:0:
tiles.h:182:272: error: narrowing conversion of ‘255’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff}};
                                                                              ^

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named 13.0-systemd_20170309-190652) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
Comment 1 Toralf Förster gentoo-dev 2017-03-18 08:29:34 UTC
Created attachment 467418 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-18 08:29:37 UTC
Created attachment 467420 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-03-18 08:29:42 UTC
Created attachment 467422 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-03-18 08:29:45 UTC
Created attachment 467424 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-03-18 08:29:48 UTC
Created attachment 467426 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-03-18 08:29:51 UTC
Created attachment 467428 [details]
games-util:atlas-0.5.1_beta_pre20160907:20170318-082427.log
Comment 7 Toralf Förster gentoo-dev 2017-03-18 08:29:55 UTC
Created attachment 467430 [details]
temp.tbz2
Comment 8 Maciej Mrozowski gentoo-dev 2017-03-19 02:25:08 UTC
So this is not a warning anymore in gcc-5?
Comment 9 Andreas K. Hüttel archtester gentoo-dev 2017-04-16 19:58:29 UTC
Not stable, can't block a stabilization
Comment 10 David Seifert gentoo-dev 2017-04-17 07:17:42 UTC
commit 8654aff319226a42ca2d112c42009abdcd0fb2f0
Author: David Seifert <soap@gentoo.org>
Date:   Mon Apr 17 09:16:05 2017 +0200

    games-util/atlas: Fix -Wnarrowing failures for GCC 6
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=612986