Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 612830

Summary: 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]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: plevine457
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=632534
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-emulation:virtualjaguar-2.1.2-r2:20170316-051945.log
temp.tbz2

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