http://llvm.org/bugs/show_bug.cgi?id=9205

           Summary: cmath does not work with clang -std=c++0x or
                    -std=c++93
           Product: libc++
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


A simple:

#include <cmath>

does not work on mac os x 10.6, with clang -std=c++0x or clang -std=c++93. It
works fine with -std=gnu++0x and -std=gnu++93.

I had assumed that -std=c++0x was the 'natural' extension to get c++0x support.
I can see I should probably be using gnu++0x. That is an unfortunate choice of
naming (but probably clang's fault).

-- 
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

Reply via email to