[Debichem-devel] Bug#812040: gelemental: FTBFS with GCC 6: operands to ?: have different

Martin Michlmayr tbm at hpe.com
Wed Jan 20 04:45:46 UTC 2016


Package: gelemental
Version: 1.2.0-9
Severity: important
User: debian-gcc at lists.debian.org
Usertags: ftbfs-gcc-6

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
...
> .0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/freetype2 -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wno-unused  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o main.o main.cc
> dialogs.cc: In member function 'bool gElemental::PropertiesDialog::is_selectable(const Glib::RefPtr<Gtk::TreeModel>&, const Gtk::TreePath&, bool)':
> dialogs.cc:258:14: error: operands to ?: have different types 'Elemental::PropertyBase*' and 'bool'
>   return iter ? iter->get_value (cols.property) : false;
>          ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 
> Makefile:348: recipe for target 'dialogs.o' failed
> make[3]: *** [dialogs.o] Error 1

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



More information about the Debichem-devel mailing list