Package: aghermann Severity: normal Tags: upstream Usertags: ftbfs-gcc-6 Dear Maintainer,
aghermann fails to build with gcc 6. Ther error is this: In file included from ui/sm/sm.cc:23:0: .../../src/aghermann/ui/mw/mw.hh:332:37: error: flexible array member 'agh::ui::SExpDesignUI::SDndIface::target_list' not at end of 'struct agh::ui::SExpDesignUI::SDndIface' target_list[]; ^ .../../src/aghermann/ui/mw/mw.hh:330:16: note: in the definition of 'struct agh::ui::SExpDesignUI::SDndIface' struct SDndIface { ^~~~~~~~~ The code being complained about is this: struct SDndIface { GtkTargetEntry target_list[]; size_t n_targets; }; So there is a flexible array *before* the n_targets field which doesn't seem to make any sense because you need to know the length of the array to get at n_targets. -- System Information: Debian Release: 8.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores) Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: sysvinit (via /sbin/init)