[webkit-changes] [WebKit/WebKit] 9e7dc1: Ignore -Wundef and -Wdeprecated-declarations in co...

aestes noreply at github.com
Mon Jan 20 19:38:55 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 9e7dc1e91da1cd556cf902014e8471f48d45734c
      https://github.com/WebKit/WebKit/commit/9e7dc1e91da1cd556cf902014e8471f48d45734c
  Author: Andy Estes <aestes at apple.com>
  Date:   2025-01-20 (Mon, 20 Jan 2025)

  Changed paths:
    M Source/WebCore/dom/TransformSource.h
    M Source/WebCore/dom/TransformSourceLibxslt.cpp
    M Source/WebCore/xml/XMLErrors.h
    M Source/WebCore/xml/XSLStyleSheet.h
    M Source/WebCore/xml/XSLStyleSheetLibxslt.cpp
    M Source/WebCore/xml/XSLTExtensions.cpp
    M Source/WebCore/xml/XSLTProcessor.h
    M Source/WebCore/xml/XSLTProcessorLibxslt.cpp
    M Source/WebCore/xml/XSLTUnicodeSort.cpp
    M Source/WebCore/xml/parser/XMLDocumentParser.h
    M Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
    M Source/WebCore/xml/parser/XMLDocumentParserScope.h
    M Tools/TestWebKitAPI/Tests/WebCore/cocoa/XMLParsing.mm

  Log Message:
  -----------
  Ignore -Wundef and -Wdeprecated-declarations in code that imports libxml and libxslt headers
https://bugs.webkit.org/show_bug.cgi?id=286278
rdar://143284673

Unreviewed build fix.

Due to a regression in the libxml2 library used by Cocoa ports, code that imports libxml and libxslt
headers will fail to compile due to -Wundef and -Wdeprecated-declarations warnings that are promoted
to errors in engineering builds. Silence these errors until the underlying libxml2 regression is
addressed.

* Source/WebCore/dom/TransformSource.h:
* Source/WebCore/dom/TransformSourceLibxslt.cpp:
* Source/WebCore/xml/XMLErrors.h:
* Source/WebCore/xml/XSLStyleSheet.h:
* Source/WebCore/xml/XSLStyleSheetLibxslt.cpp:
(WebCore::XSLStyleSheet::loadChildSheets):
(WebCore::XSLStyleSheet::locateStylesheetSubResource):
* Source/WebCore/xml/XSLTExtensions.cpp:
(WebCore::exsltNodeSetFunction):
* Source/WebCore/xml/XSLTProcessor.h:
* Source/WebCore/xml/XSLTProcessorLibxslt.cpp:
(WebCore::docLoaderFunc):
* Source/WebCore/xml/XSLTUnicodeSort.cpp:
(WebCore::xsltUnicodeSortFunction):
* Source/WebCore/xml/parser/XMLDocumentParser.h:
* Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::PendingCallbacks::PendingStartElementNSCallback::~PendingStartElementNSCallback):
(WebCore::PendingCallbacks::PendingCharactersCallback::~PendingCharactersCallback):
(WebCore::PendingCallbacks::PendingProcessingInstructionCallback::~PendingProcessingInstructionCallback):
(WebCore::PendingCallbacks::PendingCDATABlockCallback::~PendingCDATABlockCallback):
(WebCore::PendingCallbacks::PendingInternalSubsetCallback::~PendingInternalSubsetCallback):
* Source/WebCore/xml/parser/XMLDocumentParserScope.h:
* Tools/TestWebKitAPI/Tests/WebCore/cocoa/XMLParsing.mm:

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



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


More information about the webkit-changes mailing list