[Webkit-unassigned] [Bug 189732] New: [Win][Clang] UNUSED_PARAM(this) causes compilation error of "cannot take the address of an rvalue of type"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Sep 18 21:18:29 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=189732
Bug ID: 189732
Summary: [Win][Clang] UNUSED_PARAM(this) causes compilation
error of "cannot take the address of an rvalue of
type"
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: New Bugs
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Hironori.Fujii at sony.com
Blocks: 171618
[Win][Clang] UNUSED_PARAM(this) causes compilation error of "cannot take the address of an rvalue of type"
While doing Bug 171618, following compilation error is reported.
> [16/31] Building CXX object Source\WebKit\CMakeFiles\WebKit.dir\__\__\DerivedSources\WebKit\unified-sources\UnifiedSource22.cpp.obj
> FAILED: Source/WebKit/CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/unified-sources/UnifiedSource22.cpp.obj
> C:\tools\llvm\bin\clang-cl.exe (...) -c DerivedSources\WebKit\unified-sources\UnifiedSource22.cpp
> In file included from DerivedSources\WebKit\unified-sources\UnifiedSource22.cpp:5:
> ..\..\Source\WebKit\UIProcess/Network/NetworkProcessProxy.cpp(154,9): error: cannot take the address of an rvalue of type 'WebKit::NetworkProcessProxy *'
> UNUSED_PARAM(this);
> ^ ~~~~
> DerivedSources\ForwardingHeaders\wtf/Compiler.h(367,38): note: expanded from macro 'UNUSED_PARAM'
> #define UNUSED_PARAM(variable) (void)&variable
> ^~~~~~~~~
> In file included from DerivedSources\WebKit\unified-sources\UnifiedSource22.cpp:5:
> ..\..\Source\WebKit\UIProcess/Network/NetworkProcessProxy.cpp(171,9): error: cannot take the address of an rvalue of type 'WebKit::NetworkProcessProxy *'
> UNUSED_PARAM(this);
> ^ ~~~~
> DerivedSources\ForwardingHeaders\wtf/Compiler.h(367,38): note: expanded from macro 'UNUSED_PARAM'
> #define UNUSED_PARAM(variable) (void)&variable
> ^~~~~~~~~
> In file included from DerivedSources\WebKit\unified-sources\UnifiedSource22.cpp:5:
> ..\..\Source\WebKit\UIProcess/Network/NetworkProcessProxy.cpp(189,9): error: cannot take the address of an rvalue of type 'WebKit::NetworkProcessProxy *'
> UNUSED_PARAM(this);
> ^ ~~~~
> DerivedSources\ForwardingHeaders\wtf/Compiler.h(367,38): note: expanded from macro 'UNUSED_PARAM'
> #define UNUSED_PARAM(variable) (void)&variable
> ^~~~~~~~~
> 3 errors generated.
See Also:
Bug 113440 – [WinCE] Add workaround for UNUSED_PARAM()
Bug 115350 – [WIN] Add workaround for UNUSED_PARAM()
Referenced Bugs:
https://bugs.webkit.org/show_bug.cgi?id=171618
[Bug 171618] [Win][Meta] Build WebKit using Clang
--
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/20180919/11e254a8/attachment-0001.html>
More information about the webkit-unassigned
mailing list