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

Bug 654324

Summary: games-arcade/diameter-0.4.0.3-r2 : res/3dsloader.cpp:77:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED OBSOLETE    
Severity: normal CC: treecleaner
Priority: Normal Keywords: PMASKED
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Deadline: 2020-10-26   
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-arcade:diameter-0.4.0.3-r2:20180428-133951.log
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-04-29 11:36:50 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..     -O2 -pipe -march=native -DPKGDATADIR='"/usr/share/diameter/"' -I/usr/include/python2.7 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o 3dsloader.o `test -f 'res/3dsloader.cpp' || echo './'`res/3dsloader.cpp
res/3dsloader.cpp: In function ‘char Load3DS(obj_type_ptr, char*)’:
res/3dsloader.cpp:77:17: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
 if (p_filename=='\0')

                 ^~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_libressl_20180425-211002

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.7.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv games-arcade/diameter
[ebuild  N    ] games-arcade/diameter-0.4.0.3-r2  PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2018-04-29 11:36:53 UTC
Created attachment 528856 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-04-29 11:36:57 UTC
Created attachment 528858 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-04-29 11:37:00 UTC
Created attachment 528860 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-04-29 11:37:03 UTC
Created attachment 528862 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-04-29 11:37:06 UTC
Created attachment 528864 [details]
games-arcade:diameter-0.4.0.3-r2:20180428-133951.log
Comment 6 Toralf Förster gentoo-dev 2018-04-29 11:37:09 UTC
Created attachment 528866 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-04-29 11:37:12 UTC
Created attachment 528868 [details]
temp.tbz2
Comment 8 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-10-26 07:41:34 UTC
Package removed.