Bug#871231: doris: FTBFS with GCC-7: error: ISO C++ forbids comparison between pointer and integer

Andreas Beckmann anbe at debian.org
Mon Aug 7 03:06:49 UTC 2017


Source: doris
Version: 4.06~beta2+dfsg-3
Severity: serious
Tags: sid buster
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-7

eztrace-contrib FTBFS since GCC-7 was made the default compiler:

[...]
g++ -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/doris-4.06~beta2+dfsg=. -fstack-protector-strong -Wformat -Werror=format-security -O3 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -c -o cpxfiddle.o cpxfiddle.cc
cpxfiddle.cc: In function 'bool handleinput(int, char**, commandlineinput&)':
cpxfiddle.cc:1857:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   if (argv[optind]=='\0')
                     ^~~~
Makefile:153: recipe for target 'cpxfiddle.o' failed
make[2]: *** [cpxfiddle.o] Error 1


Cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: doris_4.06~beta2+dfsg-3.log.gz
Type: application/gzip
Size: 8080 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-grass-devel/attachments/20170807/4283f5a2/attachment.bin>


More information about the Pkg-grass-devel mailing list