Closed larrasket closed 3 years ago
Syntastic is a Vim script, it doesn't know (nor cares) about C++ syntax. What syntastic does is it runs third-party linters against your files, and shows you the linters' output in a window. In order for said output to be useful you have to configure both syntastic and the linters to suit your particular project (the process is described in the manual). It won't work by default, syntastic isn't supposed to (and can't) guess what a sensible configuration might be for your particular situation.
On a side note: even if you take your time to configure everything properly, syntastic isn't great for working with C/C++ projects. You should consider using something like YCM instead. Also please note that syntastic is essentially dead, it has been superseded by ALE for Vim 8+.
Whenever I include <bits/stdc++.h> even to an empty file, I get these following errors:
However if I ignored it and compiled, it would compile without any warnings. Tried to reinstall gcc-libs and gcc, but didn't fix it