Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C++11 support #71

Open
zhangyfan opened this issue Jun 4, 2014 · 2 comments
Open

C++11 support #71

zhangyfan opened this issue Jun 4, 2014 · 2 comments

Comments

@zhangyfan
Copy link

This el does not support for c++11? I think so.

@tsukimizake
Copy link

I think, you should add -std=c++11 to ac-clang-cflags.
Please try M-x ac-clang-set-cflags RET -std=c++11.
If it works, you can set it permanently with
M-x customize-variable RET ac-clang-cflags RET '("-std=c++11").

@fengjian
Copy link

if use OSX, you must -I c++11 "include-path"
like this:
(setq ac-clang-cflags (list
"-std=c++11"
"-stdlib=libc++"

"-I/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/c++/v1"
))

2014-07-18 0:03 GMT+08:00 tsukimizake [email protected]:

I think, you should add -std=c++11 to ac-clang-cflags.
Please try M-x ac-clang-set-cflags RET -std=c++11.
If it works, you can set it permanently with
M-x customize-variable RET ac-clang-cflags RET '("-std=c++11").


Reply to this email directly or view it on GitHub
#71 (comment)
.

混沌万岁!伪帝去死!亵渎的言语让我欣喜若狂。
我的blog: http://blog-fengjian.rhcloud.com/ 翻墙吧异端!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants