Bug 270153
| Summary: | [WPE][Qt] Build warnings | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Philippe Normand <philn> |
| Component: | WPE WebKit | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED CONFIGURATION CHANGED | ||
| Severity: | Normal | CC: | aperez, bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=305602 | ||
Philippe Normand
AutoMoc warning
---------------
"SRC:/Tools/TestWebKitAPI/Tests/WPEQt/WPEQtTest.cpp"
includes the moc file "WPEQtTest.moc", but does not contain a Q_OBJECT, Q_GADGET, Q_NAMESPACE or Q_NAMESPACE_EXPORT macro.
AutoMoc: /var/home/phil/WebKit/Tools/TestWebKitAPI/Tests/WPEQt/WPEQtTest.cpp:0: Note: No relevant classes found. No output generated.
and things like
[5774/5994] Building CXX object Source/WebKit/CMakeFiles/qtwpe.dir/UIProcess/API/wpe/qt/WPEQtView.cpp.o
In file included from /var/home/phil/WebKit/Source/WebKit/UIProcess/API/wpe/qt/WPEQtView.cpp:21:
In file included from /var/home/phil/WebKit/Source/WebKit/UIProcess/API/wpe/qt/WPEQtView.h:27:
In file included from /var/home/phil/WebKit/WebKitBuild/WPE/Release/DerivedSources/WebKit/wpe/webkit.h:29:
In file included from /var/home/phil/WebKit/WebKitBuild/WPE/Release/DerivedSources/WebKit/wpe/WebKitApplicationInfo.h:27:
In file included from /usr/include/glib-2.0/glib-object.h:24:
In file included from /usr/include/glib-2.0/gobject/gbinding.h:31:
/usr/include/glib-2.0/gobject/gobject.h:764:6: warning: expression result unused [-Wunused-value]
764 | ((typename std::remove_reference<decltype (new_object)>::type) (g_object_ref) (new_object));
| ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Adrian Perez
These warnings no longer happen after removing the Qt5 binding (see #305602).