Package: sigviewer
Version: 0.5.1+svn556-4
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6

This package fails to build with GCC 6.  GCC 6 has not been released
yet, but it's expected that GCC 6 will become the default compiler for
stretch.

Note that only the first error is reported; there might be more.  You
can find a snapshot of GCC 6 in experimental.  To build with GCC 6,
you can set CC=gcc-6 CXX=g++-6 explicitly.

You may be able to find out more about this issue at
https://gcc.gnu.org/gcc-6/changes.html

> sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux
...
> g++ -c -m64 -pipe -O2 -D_REENTRANT -Wall -W -DQT_NO_DEBUG_OUTPUT 
> -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED 
> -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore 
> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 
> -I/<<BUILDDIR>>/sigviewer-0.5.1+svn556/src/../extern/include -I. 
> -I../tmp/release -I../tmp/release -o ../tmp/release/zoom_gui_command.o 
> gui_impl/commands/zoom_gui_command.cpp
> In file included from gui_impl/commands/zoom_gui_command.cpp:1:0:
> gui_impl/commands/zoom_gui_command.h:60:39: error: 'constexpr' needed for 
> in-class initialization of static data member 'const float 
> SigViewer_::ZoomGuiCommand::ZOOM_FACTOR_' of non-integral type [-fpermissive]
>      static float const ZOOM_FACTOR_ = 2;
>                                        ^
> 
> gui_impl/commands/zoom_gui_command.h:61:50: error: 'constexpr' needed for 
> in-class initialization of static data member 'const float 
> SigViewer_::ZoomGuiCommand::MAX_HORIZONTAL_ZOOM_IN_' of non-integral type 
> [-fpermissive]
>      static float const MAX_HORIZONTAL_ZOOM_IN_ = 32;
>                                                   ^~
> 
> Makefile:2422: recipe for target '../tmp/release/zoom_gui_command.o' failed
> make[2]: *** [../tmp/release/zoom_gui_command.o] Error 1

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to