[LLVMbugs] [Bug 9138] New: Missing builtins used in gcc 4.4.5 cmath header
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Fri Feb 4 13:54:21 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=9138
Summary: Missing builtins used in gcc 4.4.5 cmath header
Product: clang
Version: trunk
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P
Component: C++0x
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: jbytheway+llvm at gmail.com
CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Created an attachment (id=6101)
--> (http://llvm.org/bugs/attachment.cgi?id=6101)
Output from compiling cmath in C++0x mode
When #including the gcc 4.4.5 <cmath> header there are many builtin functions
which clang does not support. In particular, the following yields the attached
53 errors:
$ clang++ --version
clang version 2.9 (trunk 124897)
Target: x86_64-unknown-linux-gnu
Thread model: posix
$ g++ --version
g++ (Gentoo 4.4.5 p1.0, pie-0.4.5) 4.4.5
Copyright (C) 2010 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ cat cmath.cpp
#include <cmath>
int main()
{
}
$ clang++ -std=gnu++0x -o cmath cmath.cpp -ferror-limit=100 > compile-output
2>&1
--
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