<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 --- - 128-bit integers printing not supported in stl implementation"
   href="http://llvm.org/bugs/show_bug.cgi?id=21715">21715</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>128-bit integers printing not supported in stl implementation
          </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>Frontend
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>yuri@tsoft.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>---testcase---
#include <sstream>

int main() {
  std::ostringstream ss;
  __int128 i = 10;
  ss << i;
}

---errors---
i128.C:7:6: error: use of overloaded operator '<<' is ambiguous (with operand
types 'std::ostringstream' (aka 'basic_ostringstream<char>') and
      '__int128')
  ss << i;
  ~~ ^  ~
/usr/include/c++/v1/ostream:183:20: note: candidate function
    basic_ostream& operator<<(bool __n);
                   ^
/usr/include/c++/v1/ostream:184:20: note: candidate function
    basic_ostream& operator<<(short __n);
                   ^
/usr/include/c++/v1/ostream:185:20: note: candidate function
    basic_ostream& operator<<(unsigned short __n);
                   ^
/usr/include/c++/v1/ostream:186:20: note: candidate function
    basic_ostream& operator<<(int __n);
                   ^
/usr/include/c++/v1/ostream:187:20: note: candidate function
    basic_ostream& operator<<(unsigned int __n);</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>