Bug#791544: FTBFS with GCC5: suggest parentheses around operand of '!'

Martin Michlmayr tbm at hp.com
Sun Jul 5 23:23:56 UTC 2015


Package: giada
Version: 0.9.6~dfsg1-2
Severity: serious
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-5

giada fails to build with GCC 5:

> sbuild (Debian sbuild) 0.64.1 (13 Oct 2013) on m400-c2n1.hlinux.usa.hp.com
...
> g++ -DPACKAGE_NAME=\"giada\" -DPACKAGE_TARNAME=\"giada\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"giada\ 0.9\" -DPACKAGE_BUGREPORT=\"giadaloopmachine at gmail.com\" -DPACKAGE_URL=\"\" -DPACKAGE=\"giada\" -DVERSION=\"0.9\" -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -I.   -D_FORTIFY_SOURCE=2 -Wall -pedantic -Werror -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o conf.o conf.cpp
> conf.cpp: In member function 'int Conf::read()':
> conf.cpp:210:7: error: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Werror=parentheses]
>   if (!soundSystem & (SYS_API_ANY)) soundSystem = DEFAULT_SOUNDSYS;
>        ^
> cc1plus: all warnings being treated as errors
> Makefile:507: recipe for target 'conf.o' failed

-- 
Martin Michlmayr
Linux for HP Helion, Hewlett-Packard



More information about the pkg-multimedia-maintainers mailing list