Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612830 - games-emulation/virtualjaguar-2.1.2-r2 : src/blitter.cpp:5391:85: error: narrowing conversion of ‘65535’ from ‘int’ to ‘int16_t {aka short int}’ inside { } [-Wnarrowing]
Summary: games-emulation/virtualjaguar-2.1.2-r2 : src/blitter.cpp:5391:85: error: narr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-6
  Show dependency tree
 
Reported: 2017-03-16 18:35 UTC by Toralf Förster
Modified: 2017-09-30 14:46 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.92 KB, text/plain)
2017-03-16 18:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,301.77 KB, text/plain)
2017-03-16 18:35 UTC, Toralf Förster
Details
environment (environment,103.49 KB, text/plain)
2017-03-16 18:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,53.98 KB, application/x-bzip)
2017-03-16 18:36 UTC, Toralf Förster
Details
games-emulation:virtualjaguar-2.1.2-r2:20170316-051945.log (games-emulation:virtualjaguar-2.1.2-r2:20170316-051945.log,9.59 KB, text/plain)
2017-03-16 18:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,25.72 KB, application/x-bzip)
2017-03-16 18:36 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-16 18:35:51 UTC
  ^~~~~~~
src/blitter.cpp: In function ‘void ADDRADD(int16_t&, int16_t&, bool, uint16_t, uint16_t, uint16_t, uint16_t, uint8_t, bool, bool)’:
src/blitter.cpp:5391:85: error: narrowing conversion of ‘65535’ from ‘int’ to ‘int16_t {aka short int}’ inside { } [-Wnarrowing]
 t mask[8] = { 0xFFFF, 0xFFFE, 0xFFFC, 0xFFF8, 0xFFF0, 0xFFE0, 0xFFC0, 0x0000 };
                                                                              ^

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

  This is an unstable amd64 chroot image (named plasma-abi32+64_20170309-193709) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.3.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.9 [icedtea-7]
*)	IcedTea JDK 7.2.6.9 [icedtea-bin-7]
3)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-7 
  [2]   icedtea-bin-7  system-vm
  [3]   icedtea-bin-8
Comment 1 Toralf Förster gentoo-dev 2017-03-16 18:35:54 UTC
Created attachment 467240 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-16 18:35:57 UTC
Created attachment 467242 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-03-16 18:36:00 UTC
Created attachment 467244 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-03-16 18:36:04 UTC
Created attachment 467246 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-03-16 18:36:07 UTC
Created attachment 467248 [details]
games-emulation:virtualjaguar-2.1.2-r2:20170316-051945.log
Comment 6 Toralf Förster gentoo-dev 2017-03-16 18:36:11 UTC
Created attachment 467250 [details]
temp.tbz2
Comment 8 David Seifert gentoo-dev 2017-05-13 12:59:26 UTC
commit 08a8afadaf8e533f60fbe0542dfea11db9c501a1
Author: Peter-Levine <plevine457@gmail.com>
Date:   Mon May 8 19:11:18 2017 -0400

    games-emulation/virtualjaguar: Fix building with GCC-6
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=612830