Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 6d171054233b603c06cdc4e9d314945c113f37b3
https://github.com/WebKit/WebKit/commit/6d171054233b603c06cdc4e9d314945c113f37b3
Author: Alberto Garcia <[email protected]>
Date: 2026-04-15 (Wed, 15 Apr 2026)
Changed paths:
M Source/JavaScriptCore/inspector/scripts/codegen/preprocess.pl
Log Message:
-----------
Cherry-pick 311268@main (2012029f8a67).
https://bugs.webkit.org/show_bug.cgi?id=312258
Make InspectorBackendCommands.js compiler independent
https://bugs.webkit.org/show_bug.cgi?id=312258
Reviewed by Adrian Perez de Castro and Devin Rousso.
preprocess.pl generates InspectorBackendCommands.js by passing it
first through the C preprocessor, using the '-C' flag to preserve the
comments. gcc implicitly includes <stdc-predef.h>, whose comments then
leak into the generated output, while clang does not.
Pass -ffreestanding so gcc skips the stdc-predef.h preinclusion,
matching clang's behavior and producing identical output everywhere.
* Source/JavaScriptCore/inspector/scripts/codegen/preprocess.pl:
Canonical link: https://commits.webkit.org/311268@main
Canonical link: https://commits.webkit.org/305877.431@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications