Changeset 239097 in webkit


Ignore:
Timestamp:
Dec 11, 2018 9:18:42 PM (5 years ago)
Author:
Fujii Hironori
Message:

[Win][WebKitLegacy][Clang] WebKit.h warning: 'IWebEditingDelegate2::shouldInsertNode' hides overloaded virtual function [-Woverloaded-virtual]
https://bugs.webkit.org/show_bug.cgi?id=192581

Reviewed by Alex Christensen.

Conventionally, WebKit COM interface adds a new interface with
same name methods with the old interface. For example, both
IWebEditingDelegate and IWebEditingDelegate2 interfaces has
shouldInsertNode method.

This is a part of public API, can't be renamed.

  • PlatformWin.cmake: Added -Wno-overloaded-virtual compiler option

for WebKitLegacy

Location:
trunk/Source/WebKitLegacy
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKitLegacy/ChangeLog

    r238933 r239097  
     12018-12-11  Fujii Hironori  <Hironori.Fujii@sony.com>
     2
     3        [Win][WebKitLegacy][Clang] WebKit.h warning: 'IWebEditingDelegate2::shouldInsertNode' hides overloaded virtual function [-Woverloaded-virtual]
     4        https://bugs.webkit.org/show_bug.cgi?id=192581
     5
     6        Reviewed by Alex Christensen.
     7
     8        Conventionally, WebKit COM interface adds a new interface with
     9        same name methods with the old interface. For example, both
     10        IWebEditingDelegate and IWebEditingDelegate2 interfaces has
     11        shouldInsertNode method.
     12
     13        This is a part of public API, can't be renamed.
     14
     15        * PlatformWin.cmake: Added -Wno-overloaded-virtual compiler option
     16        for WebKitLegacy
     17
    1182018-12-06  Alex Christensen  <achristensen@webkit.org>
    219
  • trunk/Source/WebKitLegacy/PlatformWin.cmake

    r238501 r239097  
    276276        )
    277277    endif ()
     278endif ()
     279
     280if (COMPILER_IS_GCC_OR_CLANG)
     281    WEBKIT_ADD_TARGET_CXX_FLAGS(WebKitLegacy -Wno-overloaded-virtual)
    278282endif ()
    279283
Note: See TracChangeset for help on using the changeset viewer.