我有一些麻烦在C ++ 11在Xcode [英] I'm having some trouble with C++11 in Xcode

查看:143
本文介绍了我有一些麻烦在C ++ 11在Xcode的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Mac OS X Lion用户,它使用Xcode for C ++,似乎没有可用的Xcode更新。我似乎没有能够编译C ++ 11独家代码,但无论什么原因,我认为苹果已经得到了C ++ 11几乎实现。是的,我确实支持命令行工具。

I'm a Mac OS X Lion user who uses Xcode for C++, and it appears that no updates are available for Xcode. I do not appear to be able to compile C++11-exclusive code, but for whatever reason, I thought Apple had gotten C++11 pretty much implemented. And yes, I do have support for Command Line Tools.

然后,这可能只是我。

Then again, that might just be me. If so, is there any sort of IDE that supports C++11, or any way to upgrade?

推荐答案

我使用Xcode并设置以下设置:

I use Xcode and set the following settings:

C ++语言方言:C ++ 11或GNU ++ 11

C++ language dialect: C++11 or GNU++11

C ++ Standart库:libc ++(支持C ++ 11的LLVM C ++标准库)

C++ Standart Library: libc++ (LLVM C++ standart library with C++11 support)

Xcode版本:4.3。 2

Xcode version: 4.3.2

这篇关于我有一些麻烦在C ++ 11在Xcode的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆