Closed mrkz closed 5 years ago
Actually, syntastic_c_remove_include_errors
is about errors that happen inside included files, while your error is located in src/daemon.c
.
In principle you could use syntastic_quiet_messages
to silence it (cf. :h 'syntastic_quiet_messages'
), but in practice that would be less than useful since the error is fatal, the compiler simply bails out at that point. So you can remove the error, but you won't get any further checking anyway. This is a limitation of gcc
, as far as I know there is no way to trick it to keep going after stumbling upon missing include files. Your best option is to comment out the offending #include
line. shrug
I understand now, thanks for the explanation @lcd047
closing the issue now.
Hello,
TL;DR: I'm looking forward to ignore Include header errors such as
But placing
let g:syntastic_c_remove_include_errors = 1
does not help, where Syntastic shows the following on the status bar:I see
syntastic_c_remove_include_errors
is included in syntax_checkers/c/make.vim but not in syntax_checkers/c/gcc.vimShould this work or I'm effectively hitting an issue of this flag not being honored?
Looking
:help syntastic-commands
I found:However, this is not the case on my use case (Using vim on a linux-terminal to open a C project ). My guess is that (as mentioned previously) this flag is not being used on gcc.vim, but still, I'm unsure if this file is the current used on my use-case described.