-
-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to ignore a specific warning #662
Comments
You can't. Flycheck does not have its own way to ignore warnings, but relies on syntax checker to be able to ignore warnings on their own. In other words, you'll need to find Clang's warning flag responsible for this warning, and add it to |
I've changed |
Can you try running |
That was very helpful. Here's what I got:
There are two problems. One, I don't have my include paths setup correctly. Two, because of the way gcc is called it considers Now I just need to figure out how to get flycheck to use all of my project's include paths. |
Just trying out flycheck, and find it awesome. Thanks for the great work.
Regarding my issue: Concretely, I get a warning (both gcc and clang) "#pragma once in main file" for all my header files that are included in a file providing main. This is incorrect, and from googling around seems to be a clang/gcc issue.
I would like to disable the warning -- have flycheck ignore this warning, and potentially others. How can I go about doing this?
Sorry if creating an issue is the wrong approach to answering my question, i tried stackexchange first...
The text was updated successfully, but these errors were encountered: