Skip to content

cmath does not work with clang -std=c++0x or -std=c++93 #9577

@llvmbot

Description

@llvmbot
Bugzilla Link 9205
Resolution WORKSFORME
Resolved on Apr 01, 2011 07:34
Version unspecified
OS All
Reporter LLVM Bugzilla Contributor

Extended Description

A simple:

#include

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillalibc++libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.worksformeResolved as "works for me"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions