Open zhangyfan opened 10 years ago
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")
.
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 notifications@github.com:
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 https://github.com/Golevka/emacs-clang-complete-async/issues/71#issuecomment-49327421 .
混沌万岁!伪帝去死!亵渎的言语让我欣喜若狂。 我的blog: http://blog-fengjian.rhcloud.com/ 翻墙吧异端!
This el does not support for c++11? I think so.