Menu

#4944 Do not initialize static Real constants in class body (fixes FTBFS on GCC 6)

Verified
Defect
2016-08-02
2016-07-23
No

This FTBFS problem (on GCC 6) was reported in the discussion on Issue 4814. As this build failure is separate from the crash of Issue 4814, this issue was created for fixing the problem with the build.

Thanks to Guido Aulisi for reporting the problem and providing an initial patch.

http://codereview.appspot.com/309740043

Discussion

  • H T LilyPond

    H T LilyPond - 2016-07-23
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -1,3 +1,5 @@
    -Do not initialize static Real constants in class body (fixes FTBFS on GCC 6)
    +This FTBFS problem (on GCC 6) was reported in the discussion on Issue 4814. As this build failure is separate from the crash of Issue 4814, this issue was created for fixing the problem with the build.
    +
    +Thanks to Guido Aulisi for reporting the problem and providing an initial patch.
    
     http://codereview.appspot.com/309740043
    
    • Needs: -->
     
  • H T LilyPond

    H T LilyPond - 2016-07-23
    • Type: Enhancement --> Defect
     
  • David Kastrup

    David Kastrup - 2016-07-23
    • labels: --> Fixed_2_19_46
    • status: Started --> Fixed
    • Patch: new -->
     
  • David Kastrup

    David Kastrup - 2016-07-23

    Because it is quite trivial and is causing problems for our bug squad, pushed right away to staging as
    commit b280487b16134aaad7e284a6034f1a4eba3a5a99
    Author: Heikki Tauriainen g034737@welho.com
    Date: Sat Jul 23 12:48:11 2016 +0300

    4944: Do not initialize static constants in class body (fix FTBFS on GCC 6)
    
     
  • Phil Holmes

    Phil Holmes - 2016-08-02
    • status: Fixed --> Verified