<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [GTK] REGRESSION(r207396) Build broken with Clang."
   href="https://bugs.webkit.org/show_bug.cgi?id=163599">163599</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[GTK] REGRESSION(r207396) Build broken with Clang.
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>WebKit Nightly Build
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Unspecified
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>WebKit Gtk
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>clopez&#64;igalia.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>bugs-noreply&#64;webkitgtk.org, darin&#64;apple.com
          </td>
        </tr>

        <tr>
          <th>Blocks</th>
          <td>163494
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After r207396: &lt;<a href="http://trac.webkit.org/changeset/207396">http://trac.webkit.org/changeset/207396</a>&gt; the GTK build with Clang 3.6 fails with:

../../Source/WebCore/css/CSSPrimitiveValue.cpp:939:16: error: no matching constructor for initialization of 'WTF::String'
        return String { valueName(m_value.valueID) };
               ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../Source/WTF/wtf/text/WTFString.h:97:27: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'const UChar *' (aka 'const unsigned short *') for 1st argument
                          String(const UChar*);
                          ^
../../Source/WTF/wtf/text/WTFString.h:104:27: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'const LChar *' (aka 'const unsigned char *') for 1st argument
                          String(const LChar* characters);
                          ^
../../Source/WTF/wtf/text/WTFString.h:105:27: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'const char *' for 1st argument
                          String(const char* characters);
                          ^
../../Source/WTF/wtf/text/WTFString.h:117:27: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'WTF::ASCIILiteral' for 1st argument
                          String(ASCIILiteral characters);
                          ^
../../Source/WTF/wtf/text/WTFString.h:127:5: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'const WTF::String &amp;' for 1st argument
    String(const String&amp; other)
    ^
../../Source/WTF/wtf/text/WTFString.h:130:5: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'WTF::String &amp;&amp;' for 1st argument
    String(String&amp;&amp; other)
    ^
../../Source/WTF/wtf/text/WTFString.h:455:5: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'WTF::HashTableDeletedValueType' for 1st argument
    String(WTF::HashTableDeletedValueType) : m_impl(WTF::HashTableDeletedValue) { }
    ^
../../Source/WTF/wtf/text/WTFString.h:521:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'WTF::StringImpl &amp;' for 1st argument
inline String::String(StringImpl&amp; impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:526:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'WTF::StringImpl *' for 1st argument
inline String::String(StringImpl* impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:531:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'Ref&lt;WTF::StringImpl&gt;' for 1st argument
inline String::String(Ref&lt;StringImpl&gt;&amp;&amp; impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:536:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'RefPtr&lt;WTF::StringImpl&gt;' for 1st argument
inline String::String(RefPtr&lt;StringImpl&gt;&amp;&amp; impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:541:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'Ref&lt;WTF::AtomicStringImpl&gt;' for 1st argument
inline String::String(Ref&lt;AtomicStringImpl&gt;&amp;&amp; impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:546:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'RefPtr&lt;WTF::AtomicStringImpl&gt;' for 1st argument
inline String::String(RefPtr&lt;AtomicStringImpl&gt;&amp;&amp; impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:552:9: note: candidate template ignored: could not match 'Vector&lt;unsigned short, inlineCapacity, type-parameter-0-1, 16&gt;' against 'const WTF::AtomicString'
String::String(const Vector&lt;UChar, inlineCapacity, OverflowHandler&gt;&amp; vector)
        ^
../../Source/WTF/wtf/text/WTFString.h:123:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
    String(const char (&amp;characters)[charactersCount], ConstructFromLiteralTag) : m_impl(StringImpl::createFromLiteral&lt;charactersCount&gt;(characters)) { }
    ^
../../Source/WTF/wtf/text/WTFString.h:80:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    String() { }
    ^
../../Source/WTF/wtf/text/WTFString.h:101:27: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
                          String(const char* characters, unsigned length);
                          ^
../../Source/WTF/wtf/text/WTFString.h:100:27: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
                          String(const LChar* characters, unsigned length);
                          ^
../../Source/WTF/wtf/text/WTFString.h:83:27: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
                          String(const UChar* characters, unsigned length);
                          ^
../../Source/WebCore/css/CSSPrimitiveValue.cpp:941:16: error: no matching constructor for initialization of 'WTF::String'
        return String { propertyName(m_value.propertyID) };
               ^      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../Source/WTF/wtf/text/WTFString.h:97:27: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'const UChar *' (aka 'const unsigned short *') for 1st argument
                          String(const UChar*);
                          ^
../../Source/WTF/wtf/text/WTFString.h:104:27: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'const LChar *' (aka 'const unsigned char *') for 1st argument
                          String(const LChar* characters);
                          ^
../../Source/WTF/wtf/text/WTFString.h:105:27: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'const char *' for 1st argument
                          String(const char* characters);
                          ^
../../Source/WTF/wtf/text/WTFString.h:117:27: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'WTF::ASCIILiteral' for 1st argument
                          String(ASCIILiteral characters);
                          ^
../../Source/WTF/wtf/text/WTFString.h:127:5: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'const WTF::String &amp;' for 1st argument
    String(const String&amp; other)
    ^
../../Source/WTF/wtf/text/WTFString.h:130:5: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'WTF::String &amp;&amp;' for 1st argument
    String(String&amp;&amp; other)
    ^
../../Source/WTF/wtf/text/WTFString.h:455:5: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'WTF::HashTableDeletedValueType' for 1st argument
    String(WTF::HashTableDeletedValueType) : m_impl(WTF::HashTableDeletedValue) { }
    ^
../../Source/WTF/wtf/text/WTFString.h:521:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'WTF::StringImpl &amp;' for 1st argument
inline String::String(StringImpl&amp; impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:526:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'WTF::StringImpl *' for 1st argument
inline String::String(StringImpl* impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:531:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'Ref&lt;WTF::StringImpl&gt;' for 1st argument
inline String::String(Ref&lt;StringImpl&gt;&amp;&amp; impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:536:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'RefPtr&lt;WTF::StringImpl&gt;' for 1st argument
inline String::String(RefPtr&lt;StringImpl&gt;&amp;&amp; impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:541:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'Ref&lt;WTF::AtomicStringImpl&gt;' for 1st argument
inline String::String(Ref&lt;AtomicStringImpl&gt;&amp;&amp; impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:546:16: note: candidate constructor not viable: no known conversion from 'const WTF::AtomicString' to 'RefPtr&lt;WTF::AtomicStringImpl&gt;' for 1st argument
inline String::String(RefPtr&lt;AtomicStringImpl&gt;&amp;&amp; impl)
               ^
../../Source/WTF/wtf/text/WTFString.h:552:9: note: candidate template ignored: could not match 'Vector&lt;unsigned short, inlineCapacity, type-parameter-0-1, 16&gt;' against 'const WTF::AtomicString'
String::String(const Vector&lt;UChar, inlineCapacity, OverflowHandler&gt;&amp; vector)
        ^
../../Source/WTF/wtf/text/WTFString.h:123:5: note: candidate constructor template not viable: requires 2 arguments, but 1 was provided
    String(const char (&amp;characters)[charactersCount], ConstructFromLiteralTag) : m_impl(StringImpl::createFromLiteral&lt;charactersCount&gt;(characters)) { }
    ^
../../Source/WTF/wtf/text/WTFString.h:80:5: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
    String() { }
    ^
../../Source/WTF/wtf/text/WTFString.h:101:27: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
                          String(const char* characters, unsigned length);
                          ^
../../Source/WTF/wtf/text/WTFString.h:100:27: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
                          String(const LChar* characters, unsigned length);
                          ^
../../Source/WTF/wtf/text/WTFString.h:83:27: note: candidate constructor not viable: requires 2 arguments, but 1 was provided
                          String(const UChar* characters, unsigned length);
                          ^
2 errors generated.



It builds fine with GCC.</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>