<html>
    <head>
      <base href="https://bugs.llvm.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 - Compilation error in std::tuple when using -fmodules-ts and -std=c++17"
   href="https://bugs.llvm.org/show_bug.cgi?id=36261">36261</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compilation error in std::tuple when using -fmodules-ts and -std=c++17
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>5.0
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </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>kumaran.santhanam@gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=19821" name="attach_19821" title="compile.sh">attachment 19821</a> <a href="attachment.cgi?id=19821&action=edit" title="compile.sh">[details]</a></span>
compile.sh

1. Install Clang 5.0
2. Download <a href="http://releases.llvm.org/5.0.1/libcxx-5.0.1.src.tar.xz">http://releases.llvm.org/5.0.1/libcxx-5.0.1.src.tar.xz</a>
3. Untar the package into a directory
4. Save the attached compile.sh script into the directory
5. ./compile.sh -std=c++11
6. ./compile.sh -std=c++17

Using -std=c++11 succeeds while using -std=c++17 produces a compilation error.

The problem appears to be in the #ifdef block starting at line 993 in the
libcxx-5.0.1.src/include/tuple header file.</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>