Disable clang diagnostic errors from headers #9710
Unanswered
H-G-Hristov
asked this question in
Q&A
Replies: 3 comments 2 replies
-
Adding a setting like "C_Cpp.codeAnalysis.exclude": {
"**/utilities/include": true,
} should work. The |
Beta Was this translation helpful? Give feedback.
0 replies
-
Is it possible to just have a on/off switch to exclude all system headers and/or third party headers, for example anything not in ${CMAKE_SORUCE_DIR}, without getting into complex regex, etc? I'm sorry if this sounds stupid. I'm ignorant of this area. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Can I disable clang-diagnostic errors from headers as seen on the screenshot. This might be actually a bug as my
#include "System.hpp"
doesn't include any of these files which are included in bellow.The system is macOS.
Another Issue that might be a bug (this header is obviously not main):
Beta Was this translation helpful? Give feedback.
All reactions