xavierd / clang_complete

Vim plugin that use clang for completing C/C++ code.
http://www.vim.org/scripts/script.php?script_id=3302
1.96k stars 308 forks source link

Using C++14; C++11 warnings! #570

Open TahaMagdy opened 5 years ago

TahaMagdy commented 5 years ago

I'm using (deleting a constructor). It gives me warning that it's a c++ 11 extension, so I set the compiler options to let g:clang_user_options = '-std=c++14 -Wall -DDEGUB', and it does not see it, I tried putting clang_user_options in my .vimrc and tried to put those options in a .clang_complete in the project root and nothing happed.

TahaMagdy commented 5 years ago

Here is what I get:

Screen Shot 2019-05-28 at 1 04 23 PM Screen Shot 2019-05-28 at 1 03 38 PM
rationalcoder commented 1 year ago

Check your version of libclang. It might be old.