Bug#812004: libqglviewer: FTBFS with GCC 6: should have been declared inside

Martin Michlmayr tbm at hpe.com
Wed Jan 20 04:26:01 UTC 2016


Package: libqglviewer
Version: 2.6.3+dfsg1-1
Severity: important
User: debian-gcc at lists.debian.org
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 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_NO_KEYWORDS -DQT_XML_LIB -DQT_OPENGL_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/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I/usr/X11R6/include -I.moc -I. -o .obj/Primitive.o VRender/Primitive.cpp
> VRender/Primitive.cpp:165:75: error: 'std::ostream& vrender::operator<<(std::ostream&, const vrender::Feedback3DColor&)' should have been declared inside 'vrender'
>  std::ostream& vrender::operator<<(std::ostream& o,const Feedback3DColor& f)
>                                                                            ^
> 
> Makefile:574: recipe for target '.obj/Primitive.o' failed
> make[2]: *** [.obj/Primitive.o] Error 1

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



More information about the debian-science-maintainers mailing list