Package: basic256
Version: 0.9.6.69a-1
Severity: important
User: [email protected]
Usertags: ftbfs-gcc-6 gcc-6-reference-ambiguous

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_WEBKIT -DLINUX 
> -DLINUX_ESPEAK -DUSESDL -DQT_NO_DEBUG -DQT_WEBKIT_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/QtWebKit -I/usr/include/qt4 -I. -I/usr/include/espeak 
> -Itmp/moc -o tmp/obj/Interpreter.o Interpreter.cpp
> In file included from Interpreter.h:33:0,
>                  from Interpreter.cpp:65:
> Variables.h:37:5: error: reference to 'array' is ambiguous
>      array *arr;
>      ^~~~~
> 
> Variables.h:18:8: note: candidates are: struct array
>  struct array
>         ^~~~~
> 
> In file included from /usr/include/c++/6/tuple:39:0,
>                  from /usr/include/c++/6/bits/stl_map.h:63,
>                  from /usr/include/c++/6/map:61,
>                  from /usr/include/qt4/QtCore/qmap.h:50,
>                  from /usr/include/qt4/QtCore/qvariant.h:49,
>                  from /usr/include/qt4/QtCore/qmimedata.h:45,
>                  from /usr/include/qt4/QtGui/qmime.h:45,
>                  from /usr/include/qt4/QtGui/qevent.h:52,
>                  from /usr/include/qt4/QtGui/QKeyEvent:1,
>                  from BasicGraph.h:24,
>                  from Interpreter.h:31,
>                  from Interpreter.cpp:65:
> /usr/include/c++/6/array:90:12: note:                 template<class _Tp, 
> long unsigned int _Nm> struct std::array
>      struct array
>             ^~~~~
> 
> Interpreter.cpp: In member function 'int Interpreter::execByteCode()':
> Interpreter.cpp:3686:10: warning: unused variable 'data' [-Wunused-variable]
>       int data = stack.popint();
>           ^~~~
> 
> Interpreter.cpp:3687:10: warning: unused variable 'port' [-Wunused-variable]
>       int port = stack.popint();
>           ^~~~
> 
> Interpreter.cpp:3709:10: warning: unused variable 'port' [-Wunused-variable]
>       int port = stack.popint();
>           ^~~~
> 
> Makefile.Release:391: recipe for target 'tmp/obj/Interpreter.o' failed
> make[2]: *** [tmp/obj/Interpreter.o] Error 1

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

Reply via email to