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

Bug 610660

Summary: games-arcade/fishsupper-0.1.6 : Star_particle_system.h:80:39: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float FS::Star_particle_system::lifespan’ of non-integral type [-fpermissive]
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   
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-arcade:fishsupper-0.1.6:20170223-083956.log

Description Toralf Förster gentoo-dev 2017-02-23 08:43:40 UTC
In file included from Albert.h:38:0,
                 from Albert.cpp:24:
Star_particle_system.h:80:39: error: ‘constexpr’ needed for in-class initialization of static data member ‘const float FS::Star_particle_system::lifespan’ of non-integral type [-fpermissive]
         static const float lifespan = 1500.0;   // in ms
                                       ^~~~~~
make[1]: *** [Makefile:493: Albert.o] Error 1

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

  This is an unstable amd64 chroot image (named desktop_20170218-203252) 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)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-02-23 08:43:43 UTC
Created attachment 464812 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-23 08:43:46 UTC
Created attachment 464814 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-02-23 08:43:49 UTC
Created attachment 464816 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-02-23 08:43:52 UTC
Created attachment 464818 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-02-23 08:43:56 UTC
Created attachment 464820 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-02-23 08:43:58 UTC
Created attachment 464822 [details]
games-arcade:fishsupper-0.1.6:20170223-083956.log
Comment 7 Peter Levine 2017-07-23 02:39:17 UTC
PR: https://github.com/gentoo/gentoo/pull/5180
Comment 8 David Seifert gentoo-dev 2017-07-30 09:12:06 UTC
commit be927cf2c7807684a49dd9790b738154d914bb33
Author: Peter Levine <plevine457@gmail.com>
Date:   Sat Jul 22 22:27:54 2017 -0400

    games-arcade/fishsupper: Fix building with GCC-6
    
    Bug: https://bugs.gentoo.org/show_bug.cgi?id=610660