Summary: | Allow hiding bugs in pre-installed Qt (add path-based filter) | ||
---|---|---|---|
Product: | [Developer tools] clazy | Reporter: | Holger Schurig <holgerschurig> |
Component: | general | Assignee: | Sergio Martins <smartins> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | smartins |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Holger Schurig
2018-02-28 08:33:12 UTC
Oops, forget this: the README recommends to use -isystem instead of -i to exclude Qt's own issues. However, this will need (usually) a deep surgery down into CMake, Meson, QBS, QMake. I, for example, don't know currently how to change Meson from -i to -isystem. So I guess this isn't exactly user-friendly. Instead a CMAKE_EXCLUDE_FILES_BELOW= environment variable would be much more user friendly. Git commit 23015920c13aa64228ff0dd23cf15473a2ab18f6 by Sergio Martins. Committed on 28/02/2018 at 10:08. Pushed by smartins into branch 'master'. Added CLAZY_HEADER_FILTER env variable In case you can't use -isystem due to a weird build system. M +1 -0 Changelog M +2 -0 README.md M +10 -2 src/Clazy.cpp https://commits.kde.org/clazy/23015920c13aa64228ff0dd23cf15473a2ab18f6 Please test this, but I think the regexp is enough |