Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 614398 - 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]
Summary: games-arcade/retrobattle-1.0.0 : GameLogic.h:55:45: error: ‘constexpr’ needed...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-6
  Show dependency tree
 
Reported: 2017-04-01 07:16 UTC by Toralf Förster
Modified: 2017-04-16 18:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,5.71 KB, text/plain)
2017-04-01 07:16 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,364.13 KB, text/plain)
2017-04-01 07:16 UTC, Toralf Förster
Details
environment (environment,96.79 KB, text/plain)
2017-04-01 07:16 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,31.09 KB, application/x-bzip)
2017-04-01 07:16 UTC, Toralf Förster
Details
games-arcade:retrobattle-1.0.0:20170331-233133.log (games-arcade:retrobattle-1.0.0:20170331-233133.log,2.57 KB, text/plain)
2017-04-01 07:16 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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)