Re: cxxtools-2.2.1 fails to compile on rawhide with gcc11 with /usr/include/c++/11/string_view:98:21: error: static assertion failed

2021-02-03 Thread Jonathan Wakely
On 03/02/21 12:24 -, Martin Gansser wrote: you mean, this part of the patch can be removed ? @@ -336,14 +331,14 @@ inline char_traits::char_type* char_traits::move(char_type* s1, const char_type* s2, int_type n) { -return (cxxtools::Char*)std::memmove(s1, s2, n *

Re: cxxtools-2.2.1 fails to compile on rawhide with gcc11 with /usr/include/c++/11/string_view:98:21: error: static assertion failed

2021-02-03 Thread Martin Gansser
you mean, this part of the patch can be removed ? @@ -336,14 +331,14 @@ inline char_traits::char_type* char_traits::move(char_type* s1, const char_type* s2, int_type n) { -return (cxxtools::Char*)std::memmove(s1, s2, n * sizeof(cxxtools::Char)); +return

Re: cxxtools-2.2.1 fails to compile on rawhide with gcc11 with /usr/include/c++/11/string_view:98:21: error: static assertion failed

2021-02-03 Thread Jonathan Wakely
On 31/01/21 10:00 -, Martin Gansser wrote: The issue has now been resolved with this patch: +++ include/cxxtools/char.h 2021-01-30 18:28:23.87739 +0100 @@ -68,9 +68,7 @@ typedef int32_t value_type; //! Constructs a character with a value of 0. -

Re: cxxtools-2.2.1 fails to compile on rawhide with gcc11 with /usr/include/c++/11/string_view:98:21: error: static assertion failed

2021-01-31 Thread Martin Gansser
The issue has now been resolved with this patch: +++ include/cxxtools/char.h 2021-01-30 18:28:23.87739 +0100 @@ -68,9 +68,7 @@ typedef int32_t value_type; //! Constructs a character with a value of 0. -Char() -: _value(0) -{}

Re: cxxtools-2.2.1 fails to compile on rawhide with gcc11 with /usr/include/c++/11/string_view:98:21: error: static assertion failed

2021-01-29 Thread Jonathan Wakely
, from settingswriter.h:31, from settingswriter.cpp:28: /usr/include/c++/11/string_view: In instantiation of 'class std::basic_string_view >': settingswriter.cpp:42:26: required from here /usr/include/c++/11/string_view:98:21: error: static assertion failed

cxxtools-2.2.1 fails to compile on rawhide with gcc11 with /usr/include/c++/11/string_view:98:21: error: static assertion failed

2021-01-29 Thread Martin Gansser
: In instantiation of 'class std::basic_string_view >': settingswriter.cpp:42:26: required from here /usr/include/c++/11/string_view:98:21: error: static assertion failed 98 | static_assert(is_trivial_v<_CharT> && is_standard_layout_v<_CharT>); | ^~

Re: /usr/include/c++/11/string_view:98:21: error: static assertion failed

2021-01-28 Thread Martin Gansser
issue was fixed now, with this patch: --- include/cxxtools/char.h.orig2021-01-28 08:34:49.182956317 +0100 +++ include/cxxtools/char.h 2021-01-28 08:35:41.524954646 +0100 @@ -68,9 +68,7 @@ typedef int32_t value_type; //! Constructs a character with a value

Re: /usr/include/c++/11/string_view:98:21: error: static assertion failed

2021-01-20 Thread Martin Gansser
ok, i think i will contac upstream to fix it. Regards Martin ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct:

Re: /usr/include/c++/11/string_view:98:21: error: static assertion failed

2021-01-20 Thread Jonathan Wakely
On 20/01/21 10:47 +, Jonathan Wakely wrote: On 20/01/21 09:51 -, Martin Gansser wrote: Hi, when compiling cxxtools-3.0 on rawhide it fails with the following error messages [2]: settingswriter.cpp:42:26: required from here /usr/include/c++/11/string_view:98:21: error: static

Re: /usr/include/c++/11/string_view:98:21: error: static assertion failed

2021-01-20 Thread Jonathan Wakely
On 20/01/21 09:51 -, Martin Gansser wrote: Hi, when compiling cxxtools-3.0 on rawhide it fails with the following error messages [2]: settingswriter.cpp:42:26: required from here /usr/include/c++/11/string_view:98:21: error: static assertion failed 98 | static_assert

/usr/include/c++/11/string_view:98:21: error: static assertion failed

2021-01-20 Thread Martin Gansser
Hi, when compiling cxxtools-3.0 on rawhide it fails with the following error messages [2]: settingswriter.cpp:42:26: required from here /usr/include/c++/11/string_view:98:21: error: static assertion failed 98 | static_assert(is_trivial_v<_CharT> && is_standard_l