[Webkit-unassigned] [Bug 234412] REGRESSION(r287138) [GLIB] Build failure with GCC 8 and 9 in std::array to Span conversion
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Dec 16 18:40:26 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=234412
--- Comment #3 from Carlos Alberto Lopez Perez <clopez at igalia.com> ---
This info is maybe useful, Clang 6 fails with the same error (or very similar).
$ clang++-6.0 -std=c++17 span_gcc.cpp
span_gcc.cpp:211:10: error: no viable overloaded '='
span = arr;
~~~~ ^ ~~~
span_gcc.cpp:150:21: note: candidate function not viable: no known conversion from 'const std::array<int *, 3>' to 'const Span<const int *const, 18446744073709551615>' for 1st argument
constexpr Span& operator=(const Span&) noexcept = default;
^
1 error generated.
And clang++-7 builds it fine
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20211217/95e0b488/attachment-0001.htm>
More information about the webkit-unassigned
mailing list