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

Bug 613332

Summary: games-action/clanbomber-2.1.1-r1 : Credits.h:50:37: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float Credits::yoffset_start’ of non-integral type [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=632540
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-action:clanbomber-2.1.1-r1:20170320-043046.log
temp.tbz2

Description Toralf Förster gentoo-dev 2017-03-20 18:45:56 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL -I/usr/include -DCB_DATADIR=\"/usr/share/clanbomber\" -DCB_LOCALEDIR=\"/usr/share/locale\"   -Werror=terminate -O2 -pipe -march=native -c -o ClanBomber.o ClanBomber.cpp
In file included from ClanBomber.cpp:50:0:
Credits.h:50:37: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float Credits::yoffset_start’ of non-integral type [-fpermissive]
  static const float yoffset_start = 50;
                                     ^~
make[3]: *** [Makefile:645: ClanBomber.o] Error 1

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

  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-20 18:46:00 UTC
Created attachment 467712 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-20 18:46:04 UTC
Created attachment 467714 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-03-20 18:46:07 UTC
Created attachment 467716 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-03-20 18:46:10 UTC
Created attachment 467718 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-03-20 18:46:13 UTC
Created attachment 467720 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-03-20 18:46:16 UTC
Created attachment 467722 [details]
games-action:clanbomber-2.1.1-r1:20170320-043046.log
Comment 7 Toralf Förster gentoo-dev 2017-03-20 18:46:19 UTC
Created attachment 467724 [details]
temp.tbz2
Comment 8 David Seifert gentoo-dev 2017-04-16 18:59:02 UTC
commit 9d3eced5d6a26a6eca1fc9aa8f0ac9222128fa7e
Author: Peter-Levine <plevine457@gmail.com>
Date:   Wed Apr 5 02:47:06 2017 -0400

    games-action/clanbomber: Fix building with GCC-6 (bug #613332)