[Webkit-unassigned] [Bug 161806] [GTK] REGRESSION(r205650): ARM build broken

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Sep 13 05:48:22 PDT 2016


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

Carlos Garcia Campos <cgarcia at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |achristensen at apple.com
            Summary|[GTK]                       |[GTK] REGRESSION(r205650):
                   |REGRESSION(r205537-r205542) |ARM build broken
                   |ARM build broken            |

--- Comment #3 from Carlos Garcia Campos <cgarcia at igalia.com> ---
The problem seems to be URLParser unit test using wchar_t in:

template<size_t length>
static String wideString(const wchar_t (&url)[length])
{
    StringBuilder builder;
    builder.reserveCapacity(length - 1);
    for (size_t i = 0; i < length - 1; ++i)
    builder.append(url[i]);
    return builder.toString();
}

../../Tools/TestWebKitAPI/Tests/WebCore/URLParser.cpp: In instantiation of ‘WTF::String TestWebKitAPI::wideString(const wchar_t (&)[length]) [with unsigned int length = 23u]’:
../../Tools/TestWebKitAPI/Tests/WebCore/URLParser.cpp:245:60:   required from here
../../Tools/TestWebKitAPI/Tests/WebCore/URLParser.cpp:93:9: error: call of overloaded ‘append(const wchar_t&)’ is ambiguous
         builder.append(url[i]);
         ^
../../Tools/TestWebKitAPI/Tests/WebCore/URLParser.cpp:93:9: note: candidates are:
......

I guess wchar_t is defined differently in that ARM bot, maybe we could simply use UChar there. Any idea Alex?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160913/04b31001/attachment.html>


More information about the webkit-unassigned mailing list