[cfe-dev] #include <chrono> with Clang 3.1

Howard Hinnant hhinnant at apple.com
Thu Aug 2 07:00:54 PDT 2012


On Aug 1, 2012, at 9:46 AM, "Hadassi, Ofer" <OHadassi at nds.com> wrote:

> #include <thread>
> int main(int argc, char ** argv)
> {
> retrurn 0;
> }
> 
> using the following command line fails:
> clang++ -std=c++11 - test.cpp

Does adding -stdlib=libc++ to your command line help?

Howard




More information about the cfe-dev mailing list