Package: phalanx Version: 22+d051004-13.1 Severity: important User: debian-...@lists.debian.org Usertags: ftbfs-gcc-6 gcc-6-misleading-indentation
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. > sbuild (Debian sbuild) 0.67.0 (26 Dec 2015) on dl580gen9-02.hlinux ... > gcc -O0 -Wall -Werror -fomit-frame-pointer -std=c99 -D_GNU_SOURCE -march=k8 > -DGNUFUN -DPBOOK_DIR=\"/usr/share/games/phalanx\" > -DSBOOK_DIR=\"/usr/lib/games/phalanx\" -DLEARN_DIR=\"/var/games\" > -DLEARN_FILE=\"phalanx.learn\" -DDEBIAN -c bcreate.c -o .o/bcreate.o > bcreate.c: In function 'parsegame': > bcreate.c:223:5: error: statement is indented as if it were guarded by... > [-Werror=misleading-indentation] > while( (c=getchar())==' ' || c=='\n' ) {} > ^~~~~ > > bcreate.c:216:5: note: ...this 'while' clause, but it is not > { while( (c=getchar()) != '.' && c!=EOF ) > ^~~~~ > > cc1: all warnings being treated as errors > makefile:37: recipe for target '.o/bcreate.o' failed -- Martin Michlmayr Linux for HPE Helion, Hewlett Packard Enterprise