Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2012029f8a6759ec7d695c82f885ef81bfb093a8
      
https://github.com/WebKit/WebKit/commit/2012029f8a6759ec7d695c82f885ef81bfb093a8
  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:
  -----------
  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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to