[LLVMbugs] [Bug 13530] New: clang++ --std=gnu++11 fails to compile <iostream>
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Mon Aug 6 00:46:47 PDT 2012
http://llvm.org/bugs/show_bug.cgi?id=13530
Bug #: 13530
Summary: clang++ --std=gnu++11 fails to compile <iostream>
Product: clang
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: -New Bugs
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: lbalbalba at gmail.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
clang fails compiling a hello world program when using the --std=gnu+11 option:
# cat test.cpp
#include <iostream>
int main() {
std::cout << "Hello, world!" << std::endl;
}
# clang++ test.cpp -o test -std=gnu++11
In file included from test.cpp:1:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/iostream:39:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/ostream:39:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/ios:40:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/bits/char_traits.h:40:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/bits/stl_algobase.h:65:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/bits/stl_pair.h:61:
In file included from
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/bits/move.h:57:
/usr/lib/gcc/i686-redhat-linux/4.7.0/../../../../include/c++/4.7.0/type_traits:256:39:
error: use of undeclared identifier '__float128'
struct __is_floating_point_helper<__float128>
^
1 error generated.
--
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