[Webkit-unassigned] [Bug 189492] New: [Win][Clang][DumpRenderTree] Add a constructor of AccessibilityUIElement for 0 or nullptr
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Sep 10 20:18:04 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=189492
Bug ID: 189492
Summary: [Win][Clang][DumpRenderTree] Add a constructor of
AccessibilityUIElement for 0 or nullptr
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
Assignee: webkit-unassigned at lists.webkit.org
Reporter: Hironori.Fujii at sony.com
CC: lforschler at apple.com
[Win][Clang][DumpRenderTree] Add a constructor of AccessibilityUIElement for 0 or nullptr
While trying to build WebKit WinCairo port with the latest Clang (Bug 171618),
the following compilation error is reported.
> [9/31] Building CXX object Tools\DumpRenderTree\CMakeFiles\DumpRenderTreeLib.dir\AccessibilityUIElement.cpp.obj
> FAILED: Tools/DumpRenderTree/CMakeFiles/DumpRenderTreeLib.dir/AccessibilityUIElement.cpp.obj
> C:\tools\llvm\bin\clang-cl.exe (...) /FoTools\DumpRenderTree\CMakeFiles\DumpRenderTreeLib.dir\AccessibilityUIElement.cpp.obj /FdTools\DumpRenderTree\CMakeFiles\DumpRenderTreeLib.dir\ -c ..\..\Tools\DumpRenderTree\AccessibilityUIElement.cpp
> ..\..\Tools\DumpRenderTree\AccessibilityUIElement.cpp(1564,85): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> AccessibilityUIElement AccessibilityUIElement::horizontalScrollbar() const { return 0; }
> ^
> ..\..\Tools\DumpRenderTree/AccessibilityUIElement.h(66,5): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement(PlatformUIElement);
> ^
> ..\..\Tools\DumpRenderTree/AccessibilityUIElement.h(67,5): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement(const AccessibilityUIElement&);
> ^
> ..\..\Tools\DumpRenderTree\AccessibilityUIElement.cpp(1565,83): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> AccessibilityUIElement AccessibilityUIElement::verticalScrollbar() const { return 0; }
> ^
> ..\..\Tools\DumpRenderTree/AccessibilityUIElement.h(66,5): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement(PlatformUIElement);
> ^
> ..\..\Tools\DumpRenderTree/AccessibilityUIElement.h(67,5): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement(const AccessibilityUIElement&);
> ^
> ..\..\Tools\DumpRenderTree\AccessibilityUIElement.cpp(1566,100): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> AccessibilityUIElement AccessibilityUIElement::uiElementAttributeValue(JSStringRef) const { return 0; }
> ^
> ..\..\Tools\DumpRenderTree/AccessibilityUIElement.h(66,5): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement(PlatformUIElement);
> ^
> ..\..\Tools\DumpRenderTree/AccessibilityUIElement.h(67,5): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement(const AccessibilityUIElement&);
> ^
> ..\..\Tools\DumpRenderTree\AccessibilityUIElement.cpp(1635,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree/AccessibilityUIElement.h(66,5): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement(PlatformUIElement);
> ^
> ..\..\Tools\DumpRenderTree/AccessibilityUIElement.h(67,5): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement(const AccessibilityUIElement&);
> ^
> 4 errors generated.
> [10/31] Building CXX object Tools\DumpRenderTree\CMakeFiles\DumpRenderTreeLib.dir\win\AccessibilityUIElementWin.cpp.obj
> FAILED: Tools/DumpRenderTree/CMakeFiles/DumpRenderTreeLib.dir/win/AccessibilityUIElementWin.cpp.obj
> C:\tools\llvm\bin\clang-cl.exe (...) /FoTools\DumpRenderTree\CMakeFiles\DumpRenderTreeLib.dir\win\AccessibilityUIElementWin.cpp.obj /FdTools\DumpRenderTree\CMakeFiles\DumpRenderTreeLib.dir\ -c ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(136,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(142,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(148,16): error: no viable conversion from returned value of type 'nullptr_t' to function return type 'AccessibilityUIElement'
> return nullptr;
> ^~~~~~~
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(156,16): error: no viable conversion from returned value of type 'nullptr_t' to function return type 'AccessibilityUIElement'
> return nullptr;
> ^~~~~~~
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(187,16): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(192,16): error: no viable conversion from returned value of type 'nullptr_t' to function return type 'AccessibilityUIElement'
> return nullptr;
> ^~~~~~~
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(195,16): error: no viable conversion from returned value of type 'nullptr_t' to function return type 'AccessibilityUIElement'
> return nullptr;
> ^~~~~~~
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(200,16): error: no viable conversion from returned value of type 'nullptr_t' to function return type 'AccessibilityUIElement'
> return nullptr;
> ^~~~~~~
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(210,16): error: no viable conversion from returned value of type 'nullptr_t' to function return type 'AccessibilityUIElement'
> return nullptr;
> ^~~~~~~
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'nullptr_t' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(672,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(682,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(758,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(763,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(768,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(773,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(778,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(783,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(788,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(967,12): error: no viable conversion from returned value of type 'int' to function return type 'AccessibilityUIElement'
> return 0;
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(51,25): note: candidate constructor not viable: no known conversion from 'int' to 'PlatformUIElement' (aka 'COMPtr<IAccessible>') for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(PlatformUIElement element)
> ^
> ..\..\Tools\DumpRenderTree\win\AccessibilityUIElementWin.cpp(56,25): note: candidate constructor not viable: no known conversion from 'int' to 'const AccessibilityUIElement &' for 1st argument
> AccessibilityUIElement::AccessibilityUIElement(const AccessibilityUIElement& other)
> ^
> 19 errors generated.
--
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/20180911/06b73a9a/attachment-0001.html>
More information about the webkit-unassigned
mailing list