<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:clopez@igalia.com" title="Carlos Alberto Lopez Perez <clopez@igalia.com>"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] REGRESSION(r205650): ARM build broken"
href="https://bugs.webkit.org/show_bug.cgi?id=161806">bug 161806</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>thorton@apple.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] REGRESSION(r205650): ARM build broken"
href="https://bugs.webkit.org/show_bug.cgi?id=161806#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] REGRESSION(r205650): ARM build broken"
href="https://bugs.webkit.org/show_bug.cgi?id=161806">bug 161806</a>
from <span class="vcard"><a class="email" href="mailto:clopez@igalia.com" title="Carlos Alberto Lopez Perez <clopez@igalia.com>"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=161806#c3">comment #3</a>)
<span class="quote">> 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?</span >
The type definition for wchar_t is architecture dependent:
GNU/Linux x86_64 machine $ echo "" | gcc -E - -dM | grep WCHAR
#define __WCHAR_MAX__ 2147483647
#define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1)
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __WCHAR_TYPE__ int
#define __SIZEOF_WCHAR_T__ 4
GNU/Linux i686 machine $ echo "" | g++-4.9 -E - -dM | grep WCHAR
#define __WCHAR_MAX__ 2147483647L
#define __WCHAR_MIN__ (-__WCHAR_MAX__ - 1)
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __WCHAR_TYPE__ long int
#define __SIZEOF_WCHAR_T__ 4
GNU/Linux armv7t machine $ echo "" | g++-4.9 -E - -dM | grep WCHAR
#define __ARM_SIZEOF_WCHAR_T 32
#define __WCHAR_MAX__ 4294967295U
#define __WCHAR_MIN__ 0U
#define __GCC_ATOMIC_WCHAR_T_LOCK_FREE 2
#define __WCHAR_TYPE__ unsigned int
#define __SIZEOF_WCHAR_T__ 4</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>