[LLVMbugs] [Bug 14649] New: iostreams don't work on Linux/gcc 4.7 because of locale facets
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Dec 19 02:51:20 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=14649
Bug #: 14649
Summary: iostreams don't work on Linux/gcc 4.7 because of
locale facets
Product: libc++
Version: unspecified
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
AssignedTo: hhinnant at apple.com
ReportedBy: bero at lindev.ch
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
Any attempt to use iostreams in Linux/gcc 4.7 causes a bad_cast exception. When
running e.g.
#include <iostream>
int main(int argc, char **argv) {
std::cout << "Test" << std::endl;
}
the result is a bad_cast exception caused by use_facet trying to use facet id
28, but only facet IDs 0 to 27 ever get defined.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list