[Webkit-unassigned] [Bug 221714] New: We should not static_assert on an ENABLE() macro.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 10 13:48:36 PST 2021


https://bugs.webkit.org/show_bug.cgi?id=221714

            Bug ID: 221714
           Summary: We should not static_assert on an ENABLE() macro.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: JavaScriptCore
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mark.lam at apple.com

This is because the ENABLE() macro reduces to a macro expression `(defined ENABLE_##WTF_FEATURE && ENABLE_##WTF_FEATURE)` which is not a C++ expression that a static_assert can evaluate.

rdar://74197896

-- 
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/20210210/e80553e3/attachment.htm>


More information about the webkit-unassigned mailing list