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

Bug 614398

Summary: games-arcade/retrobattle-1.0.0 : GameLogic.h:55:45: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float GameLogic::updateInterval’ 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   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 582084    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
games-arcade:retrobattle-1.0.0:20170331-233133.log

Description Toralf Förster gentoo-dev 2017-04-01 07:16:35 UTC
x86_64-pc-linux-gnu-g++ -Werror=terminate -O2 -pipe -march=native -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I.  -DENABLE_BINRELOC  -c -o retro.o retro.cc
In file included from retro.cc:24:0:
GameLogic.h:55:45: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float GameLogic::updateInterval’ of non-integral type [-fpermissive]
   static const float updateInterval = 1.0 / maximumFrameRate;
                                             ^~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image (named desktop-abi32+64_20170324-193625) at a hardened host acting as a tinderbox.

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

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

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy (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-bin-7]
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-7 
  [2]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-04-01 07:16:39 UTC
Created attachment 468844 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-04-01 07:16:42 UTC
Created attachment 468846 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-04-01 07:16:45 UTC
Created attachment 468848 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-04-01 07:16:48 UTC
Created attachment 468850 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-04-01 07:16:51 UTC
Created attachment 468852 [details]
games-arcade:retrobattle-1.0.0:20170331-233133.log
Comment 6 David Seifert gentoo-dev 2017-04-16 18:58:44 UTC
commit b581f310212bf0254f21f4de3aa5b3c368ec9389
Author: Peter-Levine <plevine457@gmail.com>
Date:   Fri Apr 7 16:51:24 2017 -0400

    games-arcade/retrobattle: Fix building with GCC-6 (bug #614398)