[Webkit-unassigned] [Bug 229867] -Wodr warning spam caused by ENABLE(BINDING_INTEGRITY)

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 7 13:42:25 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=229867

--- Comment #5 from Michael Catanzaro <mcatanzaro at gnome.org> ---
I tried:

diff --git a/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm b/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
index 1f24f1eb010b..014a99f87b8b 100644
--- a/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
+++ b/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
@@ -5106,7 +5106,9 @@ sub GenerateImplementation
 #pragma warning(disable: 4483)
 extern "C" { extern void (*const ${vtableRefWin}[])(); }
 #else
+IGNORE_GCC_WARNINGS_BEGIN("odr")
 extern "C" { extern void* ${vtableNameGnu}[]; }
+IGNORE_GCC_WARNINGS_END
 #endif
 #endif

But apparently these warnings are not suppressible at all. :/

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210907/118b6738/attachment.htm>


More information about the webkit-unassigned mailing list