[Win][WebKitLegacy][Clang] WebKit.h warning: 'IWebEditingDelegate2::shouldInsertNode...
[WebKit-https.git] / Source / WebKitLegacy / win / Interfaces / IWebEditingDelegate.idl
index b286799..e32684b 100644 (file)
@@ -189,6 +189,11 @@ interface IWebEditingDelegate : IUnknown
     HRESULT updateGrammar();
 }
 
+cpp_quote("#if defined(__GNUC__) || defined(__clang__)")
+cpp_quote("#pragma GCC diagnostic push")
+cpp_quote("#pragma GCC diagnostic ignored \"-Woverloaded-virtual\"")
+cpp_quote("#endif")
+
 [
     uuid(9973D190-3346-4CAA-AB76-F070CAB0B59B)
 ]
@@ -198,4 +203,8 @@ interface IWebEditingDelegate2 : IWebEditingDelegate
     - (BOOL)webView:(WebView *)webView shouldInsertNode:(DOMNode *)node replacingDOMRange:(DOMRange *)range givenAction:(WebViewInsertAction)action;
     */
     HRESULT shouldInsertNode([in] IWebView* webView, [in] IDOMNode* node, [in] IDOMRange* range, [in] WebViewInsertAction action, [out, retval] BOOL* result);
-}
\ No newline at end of file
+}
+
+cpp_quote("#if defined(__GNUC__) || defined(__clang__)")
+cpp_quote("#pragma GCC diagnostic pop")
+cpp_quote("#endif")