Disable clang diagnostic errors from headers #9710
Unanswered
Hristo Hristov (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 |
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. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
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):
All reactions