<html>
    <head>
      <base href="http://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 --- - Built-in __is_constructible interferes with definition of struct __is_constructible {};"
   href="http://llvm.org/bugs/show_bug.cgi?id=21045">21045</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Built-in __is_constructible interferes with definition of struct __is_constructible {};
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>clang
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </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>C++
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>stephan.bergmann.secondary@googlemail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>dgregor@apple.com, llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre><span class="quote">> $ clang++ --version
> clang version 3.6.0 (trunk 218328)
> Target: x86_64-apple-darwin13.4.0
> Thread model: posix</span >
>
<span class="quote">> $ cat test.cc
> struct __is_constructible {};</span >
>
<span class="quote">> $ clang++ -c test.cc
> test.cc:1:1: error: declaration of anonymous struct must be a definition
> struct __is_constructible {};
> ^
> test.cc:1:1: warning: declaration does not declare anything [-Wmissing-declarations]
> struct __is_constructible {};
> ^
> 1 warning and 1 error generated.</span >

(This breaks inclusion of
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/type_traits
on Mac OS X in C++11 mode, which happens to define a struct template named
__is_constructible.)</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>