[Webkit-unassigned] [Bug 189987] [Win] error C2139: 'WebKit::UpdateInfo': an undefined class is not allowed as an argument to compiler intrinsic type trait '__is_assignable'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 25 22:19:40 PDT 2018


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

--- Comment #1 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Created attachment 350848

  --> https://bugs.webkit.org/attachment.cgi?id=350848&action=review

repro

> C:\home>cl /c a.cpp
> Microsoft (R) C/C++ Optimizing Compiler Version 19.15.26730 for x64
> Copyright (C) Microsoft Corporation.  All rights reserved.
> 
> a.cpp
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.15.26726\include\type_traits(912): error C2139: 'WebKit::UpdateInfo': an undefined class is not allowed as an argument to compiler intrinsic type trait '__is_assignable'
> a.cpp(5): note: see declaration of 'WebKit::UpdateInfo'
> a.cpp(19): note: see reference to class template instantiation 'std::is_move_assignable<_This>' being compiled
>         with
>         [
>             _This=const WebKit::UpdateInfo &
>         ]
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.15.26726\include\type_traits(912): note: see reference to variable template 'const bool conjunction_v<std::is_move_assignable<WebKit::UpdateInfo const &> >' being compiled
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.15.26726\include\type_traits(901): error C2139: 'WebKit::UpdateInfo': an undefined class is not allowed as an argument to compiler intrinsic type trait '__is_assignable'
> a.cpp(5): note: see declaration of 'WebKit::UpdateInfo'
> a.cpp(19): note: see reference to class template instantiation 'std::is_copy_assignable<_This>' being compiled
>         with
>         [
>             _This=const WebKit::UpdateInfo &
>         ]
> C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\VC\Tools\MSVC\14.15.26726\include\type_traits(901): note: see reference to variable template 'const bool conjunction_v<std::is_copy_assignable<WebKit::UpdateInfo const &> >' being compiled
> 
> C:\home>

-- 
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/20180926/0dfd5519/attachment.html>


More information about the webkit-unassigned mailing list