Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610660 - 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]
Summary: games-arcade/fishsupper-0.1.6 : Star_particle_system.h:80:39: error: ‘constex...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-6
  Show dependency tree
 
Reported: 2017-02-23 08:43 UTC by Toralf Förster
Modified: 2017-07-30 09:12 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.68 KB, text/plain)
2017-02-23 08:43 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,6.03 KB, application/x-bzip)
2017-02-23 08:43 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,250.85 KB, text/plain)
2017-02-23 08:43 UTC, Toralf Förster
Details
environment (environment,120.28 KB, text/plain)
2017-02-23 08:43 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,22.68 KB, application/x-bzip)
2017-02-23 08:43 UTC, Toralf Förster
Details
games-arcade:fishsupper-0.1.6:20170223-083956.log (games-arcade:fishsupper-0.1.6:20170223-083956.log,6.84 KB, text/plain)
2017-02-23 08:43 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-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