Forcing c++ lang in clang options for ycm
This commit is contained in:
parent
feef67c50a
commit
df260ed2a8
@ -8,6 +8,11 @@ flags = [
|
||||
'-Wno-long-long',
|
||||
'-Wno-variadic-macros',
|
||||
'-DNDEBUG',
|
||||
# THIS IS IMPORTANT! Without a "-std=<something>" flag, clang won't know which
|
||||
# language to use when compiling headers. So it will guess. Badly. So C++
|
||||
# headers will be compiled as C headers. You don't want that so ALWAYS specify
|
||||
# a "-std=<something>"
|
||||
'-std=c++11',
|
||||
'-isystem',
|
||||
'../BoostParts',
|
||||
'-isystem',
|
||||
|
Loading…
Reference in New Issue
Block a user