http://llvm.org/bugs/show_bug.cgi?id=14874
Bug #: 14874
Summary: Should abs be in the flat namespace?
Product: libc++
Version: unspecified
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Classification: Unclassified
I'm trying to compile a library with clang and libc++, and stumble upon many
name conflicts as this library has redefined functions named "abs", "norm",
etc... in the global namespace.
This library (named Freefem++) compiles well with libstdc++; I had a quick look
and I am under the impress that the difference is in cmath header file: in
libstdc++ the abs function is in std namespace whereas in libc++ it is in
global one.
Am I right in my assessment, and if so which library complies with the C++
standard on that point?
Best regards,
Sebastien Gilles
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs