[LLVMbugs] [Bug 21715] New: 128-bit integers printing not supported in stl implementation
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Dec 2 14:32:32 PST 2014
http://llvm.org/bugs/show_bug.cgi?id=21715
Bug ID: 21715
Summary: 128-bit integers printing not supported in stl
implementation
Product: clang
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P
Component: Frontend
Assignee: unassignedclangbugs at nondot.org
Reporter: yuri at tsoft.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
---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);
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141202/3fcc241a/attachment.html>
More information about the llvm-bugs
mailing list