You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.
Hello! I was using vim to see some source code files in the PostgreSQL-11-17 directory when I saw that syntastic was giving an error: parse_cte.c|15 col 10 error| fatal error: 'postgres.h' file not found.
This happened is some files under the postgresql-11.17/src/backend/parser directory. But with further inspection, I found that it indeed had a postgres.h file under postgresql-11.17/include.
Why does syntastic gives an error whilst having a file which it gives as not having? Is there an option that I can make it recognize it?
The text was updated successfully, but these errors were encountered:
Why does syntastic gives an error whilst having a file which it gives as not having?
Because you didn't configure it for your project.
Is there an option that I can make it recognize it?
There is (it's described in the manual), but you probably shouldn't go there. First, syntastic was meant as a generic framework for linters, and it's unnecessarily awkward for languages such as C/C++. There are specialized plugins (such as YCM) that do a much better job for C/C++. And second, syntastic is dead, you should consider switching to something like ALE instead.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hello! I was using vim to see some source code files in the
PostgreSQL-11-17
directory when I saw that syntastic was giving an error:parse_cte.c|15 col 10 error| fatal error: 'postgres.h' file not found
.This happened is some files under the
postgresql-11.17/src/backend/parser
directory. But with further inspection, I found that it indeed had apostgres.h
file underpostgresql-11.17/include
.Why does syntastic gives an error whilst having a file which it gives as not having? Is there an option that I can make it recognize it?
The text was updated successfully, but these errors were encountered: