Suppress CppCheck "unknown macro" lint error.
Including third party libraries to the cppcheck include path is annoying and the unknownMacro errors are generally not useful. This was SVN commit r25200.
This commit is contained in:
parent
f1e4a0e6f6
commit
739a63828a
2
.arclint
2
.arclint
@ -33,7 +33,7 @@
|
||||
"type": "cppcheck",
|
||||
"bin": ["cppcheck", "build\\arclint\\dummies\\cppcheck.bat", "build/arclint/dummies/cppcheck.php"],
|
||||
"include": "/\\.(h|cpp)$/",
|
||||
"flags": ["--max-configs=40", "--language=c++", "--std=c++17", "-Isource/"]
|
||||
"flags": ["--max-configs=40", "--language=c++", "--std=c++17", "-Isource/", "--suppress=unknownMacro"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user