WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
ASSIGNED
232659
Release+assert build broken due to ColorTypes.h assertInRange
https://bugs.webkit.org/show_bug.cgi?id=232659
Summary
Release+assert build broken due to ColorTypes.h assertInRange
Kimmo Kinnunen
Reported
2021-11-03 02:17:25 PDT
Release+assert build broken due to ColorTypes.h assertInRange assertInRange cannot be constexpr due to it using ASSERT. Conceptually if it fails, we don't want the compiler to assert. ColorSpace.h starts a call chain that invokes the assertInRange in non-constexpr context, so the assert cannot be static_assert. make ra
Attachments
Add attachment
proposed patch, testcase, etc.
Kimmo Kinnunen
Comment 1
2021-11-03 02:32:33 PDT
also: callWithColorType std::invoke is not constexpr in c++17.
Radar WebKit Bug Importer
Comment 2
2021-11-10 01:18:21 PST
<
rdar://problem/85244408
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug