c - YouCompleteMe(YCM) doesnt suggest any formats (C11) -


i'm trying setup ycm utilize autocompletion in c. followed instruction described in manaul.(:help youcompleteme) doen't show autocompletion list me. part of flags in ycm_extra_conf.py , debug info below. (ps, post current status when open c file , type pri (it should suggests printf or etc...)

thanks :)

my current status

ycm debug info

  '-std=c11',   '-x',   'c'   '-isystem',   '../boostparts',   '-isystem',   '/system/library/frameworks/python.framework/headers',   '-isystem',   '../llvm/include',   '-isystem',   '../llvm/tools/clang/include',   '-i',   '.',   '-i',   './clangcompleter',   '-isystem',   './tests/gmock/gtest',   '-isystem',   './tests/gmock/gtest/include',   '-isystem',   './tests/gmock',   '-isystem',   './tests/gmock/include',   #c default header   '-isystem',   '/usr/lib/gcc/x86_64-linux-gnu',   '-isystem',   '/usr/lib/gcc/x86_64-linux-gnu/5/include',   '-isystem',   '/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed',   '-isystem',   '/usr/local/include',   '-isystem',   '/usr/include', 

look @ beginning:

'-std=c11', '-x', 'c' '-isystem', 

last 2 items become c-isystem (see :ycmdebug output). may confuse compiler. guess meant -c instead. nevertheless such flag redundant youcompleteme , may omitted safely.

p.s. c++ headers confuse c compiler too, need ensure provided headers consistent current source file type (is c or c++).


Comments

Popular posts from this blog

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -