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
On 29/01/21 09:16 -, Martin Gansser wrote: Hi, i am trying to compile cxxtools 2.2.1 [1] on Fedora 34 with gcc11 but this fails with following error messages [2] on Fedora build server. make[2]: Entering directory '/builddir/build/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX

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
Hi, i am trying to compile cxxtools 2.2.1 [1] on Fedora 34 with gcc11 but this fails with following error messages [2] on Fedora build server. make[2]: Entering directory '/builddir/build/BUILD/cxxtools-2.2.1/src' /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../src