RESOLVED FIXED 192009
[GTK] Silence compilation warnings in glib unittests
https://bugs.webkit.org/show_bug.cgi?id=192009
Summary [GTK] Silence compilation warnings in glib unittests
Tomas Popela
Reported 2018-11-27 07:22:05 PST
[7/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestPrinting.dir/__/Tests/WebKitGtk/TestPrinting.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestPrinting.cpp:21: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [8/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestDOMElement.dir/__/Tests/WebKitGLib/TestDOMElement.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestDOMElement.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [9/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebKitUserContentManager.dir/__/Tests/WebKitGLib/TestWebKitUserContentManager.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitUserContentManager.cpp:23: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [10/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestCookieManager.dir/__/Tests/WebKitGLib/TestCookieManager.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestCookieManager.cpp:24: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [11/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebKitWebView.dir/__/Tests/WebKitGLib/TestWebKitWebView.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebView.cpp:23: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [12/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebKitAccessibility.dir/__/Tests/WebKitGtk/TestWebKitAccessibility.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestWebKitAccessibility.cpp:22: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [13/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebKitWebContext.dir/__/Tests/WebKitGLib/TestWebKitWebContext.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.h:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp:82:5: warning: destructor called on non-final 'PluginsTest' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(PluginsTest); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp:82:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp:508:5: warning: destructor called on non-final 'SecurityPolicyTest' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(SecurityPolicyTest); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitWebContext.cpp:508:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 3 warnings generated. [14/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebViewEditor.dir/__/Tests/WebKitGtk/TestWebViewEditor.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestWebViewEditor.cpp:21: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [15/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestInspectorServer.dir/__/Tests/WebKitGtk/TestInspectorServer.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestInspectorServer.cpp:28: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [16/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestInspector.dir/__/Tests/WebKitGtk/TestInspector.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestInspector.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [17/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebsiteData.dir/__/Tests/WebKitGLib/TestWebsiteData.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebsiteData.cpp:23: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [18/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestDOMNodeFilter.dir/__/Tests/WebKitGtk/TestDOMNodeFilter.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestDOMNodeFilter.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [19/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebKitFindController.dir/__/Tests/WebKitGLib/TestWebKitFindController.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitFindController.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.h:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [20/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestDOMClientRect.dir/__/Tests/WebKitGtk/TestDOMClientRect.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestDOMClientRect.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [21/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestDOMXPathNSResolver.dir/__/Tests/WebKitGtk/TestDOMXPathNSResolver.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestDOMXPathNSResolver.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [22/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestAutocleanups.dir/__/Tests/WebKitGtk/TestAutocleanups.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestAutocleanups.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [23/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/WebKitGLibAPITestsCore.dir/WebKitGLib/LoadTrackingTest.cpp.o In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.cpp:21: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.h:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [24/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/WebKitGLibAPITestsCore.dir/WebKitGLib/WebKitTestServer.cpp.o In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebKitTestServer.cpp:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [25/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/WebKitGLibAPITestsCore.dir/WebKitGLib/TestMain.cpp.o In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.cpp:21: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [26/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/WebKitGLibAPITestsCore.dir/WebKitGLib/WebViewTest.cpp.o In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [27/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/WebKitGLibAPITestsCore.dir/WebKitGLib/gtk/WebViewTestGtk.cpp.o In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/gtk/WebViewTestGtk.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [28/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebKitPolicyClient.dir/__/Tests/WebKitGLib/TestWebKitPolicyClient.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitPolicyClient.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.h:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [29/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebKitVersion.dir/__/Tests/WebKitGtk/TestWebKitVersion.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestWebKitVersion.cpp:22: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [30/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebKitSettings.dir/__/Tests/WebKitGLib/TestWebKitSettings.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSettings.cpp:33: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [31/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestOptionMenu.dir/__/Tests/WebKitGtk/TestOptionMenu.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestOptionMenu.cpp:21: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [32/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestDOMNode.dir/__/Tests/WebKitGtk/TestDOMNode.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestDOMNode.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [33/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestAuthentication.dir/__/Tests/WebKitGLib/TestAuthentication.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestAuthentication.cpp:21: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.h:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [34/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestLoaderClient.dir/__/Tests/WebKitGLib/TestLoaderClient.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestLoaderClient.cpp:24: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.h:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [35/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestContextMenu.dir/__/Tests/WebKitGtk/TestContextMenu.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:21: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [36/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestAutomationSession.dir/__/Tests/WebKitGLib/TestAutomationSession.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp:22: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp:29:5: warning: destructor called on non-final 'AutomationTest' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(AutomationTest); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestAutomationSession.cpp:29:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 2 warnings generated. [37/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestSSL.dir/__/Tests/WebKitGLib/TestSSL.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestSSL.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/LoadTrackingTest.h:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [38/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebKitSecurityOrigin.dir/__/Tests/WebKitGLib/TestWebKitSecurityOrigin.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitSecurityOrigin.cpp:22: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [39/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestDownloads.dir/__/Tests/WebKitGLib/TestDownloads.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp:23: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp:34:5: warning: destructor called on non-final 'DownloadTest' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(DownloadTest); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp:34:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp:252:5: warning: destructor called on non-final 'DownloadErrorTest' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(DownloadErrorTest); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestDownloads.cpp:252:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 3 warnings generated. [40/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestBackForwardList.dir/__/Tests/WebKitGLib/TestBackForwardList.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestBackForwardList.cpp:23: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [41/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestEditor.dir/__/Tests/WebKitGLib/TestEditor.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestEditor.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [42/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestConsoleMessage.dir/__/Tests/WebKitGLib/TestConsoleMessage.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestConsoleMessage.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [43/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebExtensions.dir/__/Tests/WebKitGLib/TestWebExtensions.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebExtensions.cpp:23: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [44/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestFrame.dir/__/Tests/WebKitGLib/TestFrame.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestFrame.cpp:22: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [45/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestUIClient.dir/__/Tests/WebKitGLib/TestUIClient.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestUIClient.cpp:21: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [46/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestMultiprocess.dir/__/Tests/WebKitGLib/TestMultiprocess.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestMultiprocess.cpp:22: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestMultiprocess.cpp:32:5: warning: destructor called on non-final 'MultiprocessTest' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(MultiprocessTest); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestMultiprocess.cpp:32:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestMultiprocess.cpp:145:5: warning: destructor called on non-final 'UIClientMultiprocessTest' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(UIClientMultiprocessTest); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestMultiprocess.cpp:145:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 3 warnings generated. [47/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestWebKitFaviconDatabase.dir/__/Tests/WebKitGLib/TestWebKitFaviconDatabase.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestWebKitFaviconDatabase.cpp:23: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ 1 warning generated. [49/89] Building CXX object Tools/TestWebKitAPI/glib/CMakeFiles/TestResources.dir/__/Tests/WebKitGLib/TestResources.cpp.o In file included from ../../Tools/TestWebKitAPI/Tests/WebKitGLib/TestResources.cpp:23: In file included from ../../Tools/TestWebKitAPI/glib/WebKitGLib/WebViewTest.h:23: ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: warning: destructor called on non-final 'Test' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] MAKE_GLIB_TEST_FIXTURE(Test); ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:9: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^ ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:84:5: note: qualify call to silence this warning ../../Tools/TestWebKitAPI/glib/WebKitGLib/TestMain.h:45:18: note: expanded from macro 'MAKE_GLIB_TEST_FIXTURE' fixture->~ClassName(); \ ^
Attachments
Patch (1.32 KB, patch)
2018-11-27 07:26 PST, Tomas Popela
no flags
Tomas Popela
Comment 1 2018-11-27 07:26:42 PST
Michael Catanzaro
Comment 2 2018-11-27 07:55:50 PST
Comment on attachment 355732 [details] Patch guess this has never been a problem because we probably never delete a subclass through a parent-class Test* pointer. Still, good warning.
WebKit Commit Bot
Comment 3 2018-11-28 05:50:51 PST
Comment on attachment 355732 [details] Patch Clearing flags on attachment: 355732 Committed r238608: <https://trac.webkit.org/changeset/238608>
WebKit Commit Bot
Comment 4 2018-11-28 05:50:52 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.