Package: qgo Version: 2.1~git-20150530-1 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 gcc-6-narrowing
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 -g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -fpermissive -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -W > -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_MULTIMEDIA_LIB > -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -Inetwork -Iaudio -Igtp > -Igame_interfaces -Igame_tree -Iboard -Isgf -isystem > /usr/include/x86_64-linux-gnu/qt5 -isystem > /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem > /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem > /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem > /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem > /usr/include/x86_64-linux-gnu/qt5/QtCore -I../build/moc -I../build/ui > -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o > ../build/objects/talk.o network/talk.cpp > In file included from game_interfaces/countdialog.cpp:29:0: > game_interfaces/qgoboard.h: In member function 'virtual Move* > qGoBoard::doMove(StoneColor, int, int)': > game_interfaces/qgoboard.h:225:55: warning: no return statement in function > returning non-void [-Wreturn-type] > virtual Move *doMove(StoneColor c, int x, int y) {} > ^ > > game_interfaces/qgoboard.h:225:37: warning: unused parameter 'c' > [-Wunused-parameter] > virtual Move *doMove(StoneColor c, int x, int y) {} > ^ > > game_interfaces/qgoboard.h:225:44: warning: unused parameter 'x' > [-Wunused-parameter] > virtual Move *doMove(StoneColor c, int x, int y) {} > ^ > > game_interfaces/qgoboard.h:225:51: warning: unused parameter 'y' > [-Wunused-parameter] > virtual Move *doMove(StoneColor c, int x, int y) {} > ^ > > network/cyberoroconnection.cpp: In member function 'int > CyberOroConnection::reconnectToServer()': > network/cyberoroconnection.cpp:524:77: error: narrowing conversion of '250' > from 'int' to 'char' inside { } [-Wnarrowing] > const char packet[8] = { 0x0a, 0xfa, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00 > }; > ^ > > network/cyberoroconnection.cpp: In member function 'virtual void > CyberOroConnection::sendCreateRoom(RoomCreate*)': > network/cyberoroconnection.cpp:862:5: warning: statement is indented as if it > were guarded by... [-Wmisleading-indentation] > packet[12] = ((unsigned char)room->opponentStrength << 4) | > ^~~~~~ > > network/cyberoroconnection.cpp:860:4: note: ...this 'else' clause, but it is > not > else > ^~~~ -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise