Unter Debian Unstable bekomme ich auch den/einen Fehler beim kompilieren, hier der Auszug:
[src=text]USERPATH/exomomarslandersource/src/../include/stxutif.h: In instantiation of ‘std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>::result gel::stdx::utf8cvt<strict>::do_in(gel::stdx::utf8cvt<strict>::state_type&, const extern_type*, const extern_type*, const extern_type*&, gel::stdx::utf8cvt<strict>::intern_type*, gel::stdx::utf8cvt<strict>::intern_type*, gel::stdx::utf8cvt<strict>::intern_type*&) const [with bool strict = true; std::__codecvt_abstract_base<wchar_t, char, __mbstate_t>::result = std::codecvt_base::result; gel::stdx::utf8cvt<strict>::state_type = __mbstate_t; gel::stdx::utf8cvt<strict>::extern_type = char; gel::stdx::utf8cvt<strict>::intern_type = wchar_t]’:
USERPATH/exomomarslandersource/src/../include/stxutif.h:98:18: required from here
USERPATH/exomomarslandersource/src/../include/stxutif.h:125:17: error: no matching function for call to ‘__mbstate_t::__mbstate_t(int)’
{ _State = (state_type)(*_Next1 & 0x7F); }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/x86_64-linux-gnu/bits/types/mbstate_t.h:4,
from /usr/include/wchar.h:42,
from /usr/include/c++/8/cwchar:44,
from /usr/include/c++/8/bits/postypes.h:40,
from /usr/include/c++/8/bits/char_traits.h:40,
from /usr/include/c++/8/string:40,
from /usr/include/c++/8/stdexcept:39,
from USERPATH/exomomarslandersource/src/../include/stxutif.h:4,
from USERPATH/exomomarslandersource/src/gel.cpp:1:
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h:21:3: note: candidate: ‘__mbstate_t::__mbstate_t()’
} __mbstate_t;
^~~~~~~~~~~
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h:21:3: note: candidate expects 0 arguments, 1 provided
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h:21:3: note: candidate: ‘constexpr __mbstate_t::__mbstate_t(const __mbstate_t&)’
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h:21:3: note: no known conversion for argument 1 from ‘int’ to ‘const __mbstate_t&’
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h:21:3: note: candidate: ‘constexpr __mbstate_t::__mbstate_t(__mbstate_t&&)’
/usr/include/x86_64-linux-gnu/bits/types/__mbstate_t.h:21:3: note: no known conversion for argument 1 from ‘int’ to ‘__mbstate_t&&’
make[2]: *** [CMakeFiles/exomo_marslander_lib.dir/build.make:76: CMakeFiles/exomo_marslander_lib.dir/gel.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:73: CMakeFiles/exomo_marslander_lib.dir/all] Fehler 2
make: *** [Makefile:84: all] Fehler 2
[/src]