Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 00896ef855fa560af775fbbc42de4361cc571969
https://github.com/WebKit/WebKit/commit/00896ef855fa560af775fbbc42de4361cc571969
Author: Marcus Plutowski <[email protected]>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M Source/WTF/wtf/DataLog.cpp
Log Message:
-----------
Replace static_assert with #error in DataLog.cpp
https://bugs.webkit.org/show_bug.cgi?id=275070
rdar://129177831
Reviewed by Philippe Normand.
Using `static_assert` means that a `0 && 0` survives past preprocessor
time, which causes gcc's `-Wconstant-logical-operand` to raise a
warning. Using #if + #error means that this will be cleaned out by the
preprocessor instead, avoiding that warning.
* Source/WTF/wtf/DataLog.cpp:
Canonical link: https://commits.webkit.org/279679@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes