<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </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 --- - tuple api break"
   href="https://llvm.org/bugs/show_bug.cgi?id=27684">27684</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>tuple api break
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

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

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedclangbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>krejzi@email.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>With clang/libc++/libc++abi 3.9.0 (trunk 268575), I am no longer to build
webkitgtk on Linux. It appears that some recent changes to the tuple header
made this happen.

The code still compiles with clang/libc++/libc++abi 3.8.0 and gcc 6.1.0.

See also: <a href="https://bugs.webkit.org/show_bug.cgi?id=157382">https://bugs.webkit.org/show_bug.cgi?id=157382</a>

In file included from <built-in>:1:
In file included from
/sources/webkitgtk-2.12.2/Source/WebKit2/WebKit2Prefix.h:69:
In file included from /usr/bin/../include/c++/v1/algorithm:631:
/usr/bin/../include/c++/v1/type_traits:1331:59: error: incomplete type
'WebCore::IDBRequestData' used in type trait expression
    : public integral_constant<bool, __is_base_of(_Bp, _Dp)> {};
                                                          ^
/usr/bin/../include/c++/v1/type_traits:543:37: note: in instantiation of
template class 'std::__1::is_base_of<std::__1::allocator_arg_t,
WebCore::IDBRequestData>' requested
      here
struct __lazy_and : __lazy_and_impl<_P1::type::value, _Pr...> {};
                                    ^
/usr/bin/../include/c++/v1/tuple:664:9: note: in instantiation of template
class 'std::__1::__lazy_and<std::__1::is_base_of<std::__1::allocator_arg_t,
WebCore::IDBRequestData>,
     
std::__1::__lazy_all<std::__1::__dependent_type<std::__1::is_default_constructible<const
WebCore::IDBRequestData &>, true>,
      std::__1::__dependent_type<std::__1::is_default_constructible<const
WebCore::IDBObjectStoreInfo &>, true> > >' requested here
        __lazy_and<
        ^
/usr/bin/../include/c++/v1/tuple:670:5: note: in instantiation of default
argument for 'tuple<WebCore::IDBRequestData, WebCore::IDBObjectStoreInfo,
true>' required here
    tuple(_AllocArgT, _Alloc const& __a)
    ^~~~~
/sources/webkitgtk-build/DerivedSources/WebKit2/WebIDBConnectionToClientMessages.h:180:11:
note: while substituting deduced template arguments into function template
'tuple'
      [with _AllocArgT = WebCore::IDBRequestData, _Alloc =
WebCore::IDBObjectStoreInfo, _Dummy = (no value), $3 = (no value)]
        : m_arguments(requestData, info)
          ^
/sources/webkitgtk-2.12.2/Source/WebKit2/DatabaseProcess/IndexedDB/WebIDBConnectionToClient.h:40:7:
note: forward declaration of 'WebCore::IDBRequestData'
class IDBRequestData;</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>