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

Bug 610492

Summary: games-roguelike/scourge-0.21.1-r1 : map.cpp:3157:10: error: cannot convert ‘bool’ to ‘Shape*’ in return
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=632525
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: emerge-info.txt
config.log.tbz2
emerge-history.txt
environment
etc.portage.tbz2
games-roguelike:scourge-0.21.1-r1:20170222-084058.log

Description Toralf Förster gentoo-dev 2017-02-22 08:47:52 UTC
                                                                       ^
map.cpp: In member function ‘Shape* Map::isWallBetween(int, int, int, int, int, int)’:
map.cpp:3157:10: error: cannot convert ‘bool’ to ‘Shape*’ in return
   return false;
          ^~~~~

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

  This is an unstable amd64 chroot image (named desktop-libressl-abi32+64_20170215-185650) 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.5 (fallback)
  [3]   python2.7 (fallback)
  [4]   jython2.7 (fallback)

java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.8 [icedtea-7]
*)	IcedTea JDK 7.2.6.8 [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-02-22 08:47:55 UTC
Created attachment 464634 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-22 08:47:58 UTC
Created attachment 464636 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-02-22 08:48:01 UTC
Created attachment 464638 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-02-22 08:48:05 UTC
Created attachment 464640 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-02-22 08:48:08 UTC
Created attachment 464642 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-02-22 08:48:11 UTC
Created attachment 464644 [details]
games-roguelike:scourge-0.21.1-r1:20170222-084058.log
Comment 7 Peter Levine 2017-07-23 07:19:52 UTC
PR: https://github.com/gentoo/gentoo/pull/5185
Comment 8 Michael Palimaka (kensington) gentoo-dev 2017-07-23 12:33:26 UTC
Thanks, merged Peter's PR.

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=971bbd8c85e82b4538338f5a5919d6ee5f4776d1