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 *
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
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.
-
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)
-{}
,
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
: 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>);
| ^~
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
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:
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
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
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
11 matches
Mail list logo