Hello, 2015-07-17 14:13 GMT+01:00 Matthias Klose <d...@debian.org>: > Package: src:cwidget > Version: 0.5.17-2 > Severity: normal > Tags: sid stretch patch > User: debian-...@lists.debian.org > Usertags: ftbfs-gcc-5 > > GCC 5 complains about using c++11 features without passing -std=c++11. Also > setting the maintainer flag without exporting it doesn't help. > > patch at > https://launchpadlibrarian.net/211899860/cwidget_0.5.17-2ubuntu1_0.5.17-2ubuntu2.diff.gz
If I found the correct build log where you determined this [1], the compiler fails when including In file included from /usr/include/c++/5/string:52:0, from ../../../src/cwidget/curses++.h:25, from colors.cc:22: Line 22 of colors is: #include <cwidget/curses++.h> And line 25 of curses++.h is: #include <string> The error is: ----------------------- /usr/include/c++/5/bits/basic_string.h: In instantiation of 'union std::__cxx11::basic_string<cwidget::wchtype>::<anonymous>': /usr/include/c++/5/bits/basic_string.h:119:7: required from 'class std::__cxx11::basic_string<cwidget::wchtype>' ../../../src/cwidget/curses++.h:199:31: required from here /usr/include/c++/5/bits/basic_string.h:121:53: error: member 'cwidget::wchtype std::__cxx11::basic_string<cwidget::wchtype>::<anonymous union>::_M_local_buf [1]' with constructor not allowed in union _CharT _M_local_buf[_S_local_capacity + 1]; ^ /usr/include/c++/5/bits/basic_string.h:121:53: note: unrestricted unions only available with -std=c++11 or -std=gnu++11 ----------------------- This is because wchtype does not seem to be able to be used as part of unions inside basic_string.h because the constructors/destructors are not "trivial" enough. I was trying to work around this for a while, because I think that forcing c++11 mode will have cascading effects on rev-deps (currently only one within Debian, but it is aptitude with almost 100% of reported installations by popcon), but I could not find a satisfactory solution yet. Is there a deadline to fix this? [1] https://people.debian.org/~doko/logs/gcc5-20150701-ftbfs/logs-failed-gcc5/cwidget_0.5.17-2_unstable_gcc5.log -- Manuel A. Fernandez Montecelo <manuel.montez...@gmail.com> -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org