[webkit-changes] [WebKit/WebKit] ee9d5f: Part 2: Fix JavaScriptCore build on oss-fuzz

Commit Queue noreply at github.com
Tue Jul 4 09:46:11 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ee9d5f08a78bb46e08ee4b62882074ce513f01ac
      https://github.com/WebKit/WebKit/commit/ee9d5f08a78bb46e08ee4b62882074ce513f01ac
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2023-07-04 (Tue, 04 Jul 2023)

  Changed paths:
    M Source/WTF/wtf/Compiler.h
    M Source/WTF/wtf/text/TextBreakIterator.cpp

  Log Message:
  -----------
  Part 2: Fix JavaScriptCore build on oss-fuzz
https://bugs.webkit.org/show_bug.cgi?id=258625
<rdar://111454222>

Unreviewed build fix #2.

The warning is -Wdeprecated-pragma, not -Wdeprecated-declarations, so
the previous fix in 265585 at main ignored the wrong warning.

* Source/WTF/wtf/Compiler.h:
(ALLOW_DEPRECATED_PRAGMA_BEGIN):
(ALLOW_DEPRECATED_PRAGMA_END):
- Add begin/end macros for -Wdeprecated-pragma.
* Source/WTF/wtf/text/TextBreakIterator.cpp:
- Ignore deprecation warning for ATOMIC_VAR_INIT() macro in future
  versions of clang.

Canonical link: https://commits.webkit.org/265756@main




More information about the webkit-changes mailing list