#.vimrc:
let g:syntastic_cpp_compiler = 'g++'
let g:syntastic_cpp_compiler_options = '-std=c++11 -stdlib=libc++'
#.ycm_extra_conf.py:
flags数组中'-Wc++98-compat' 改为 '-Wnoc++98-compat'
YouCompleteMe添加C++11支持
最新推荐文章于 2023-08-02 16:27:18 发布
#.vimrc:
let g:syntastic_cpp_compiler = 'g++'
let g:syntastic_cpp_compiler_options = '-std=c++11 -stdlib=libc++'
#.ycm_extra_conf.py:
flags数组中'-Wc++98-compat' 改为 '-Wnoc++98-compat'