diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/linguist/lupdate/clangtoolastreader.h | 1 | ||||
-rw-r--r-- | src/linguist/lupdate/cpp_clang.h | 1 | ||||
-rw-r--r-- | src/linguist/lupdate/lupdatepreprocessoraction.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/linguist/lupdate/clangtoolastreader.h b/src/linguist/lupdate/clangtoolastreader.h index bb8255537..45a812ab7 100644 --- a/src/linguist/lupdate/clangtoolastreader.h +++ b/src/linguist/lupdate/clangtoolastreader.h @@ -11,6 +11,7 @@ QT_WARNING_DISABLE_MSVC(4100) QT_WARNING_DISABLE_MSVC(4146) QT_WARNING_DISABLE_MSVC(4267) QT_WARNING_DISABLE_MSVC(4624) +QT_WARNING_DISABLE_GCC("-Wnonnull") #include <clang/AST/RecursiveASTVisitor.h> #include <clang/Frontend/CompilerInstance.h> diff --git a/src/linguist/lupdate/cpp_clang.h b/src/linguist/lupdate/cpp_clang.h index e16bf5d53..0f98fa98e 100644 --- a/src/linguist/lupdate/cpp_clang.h +++ b/src/linguist/lupdate/cpp_clang.h @@ -16,6 +16,7 @@ QT_WARNING_DISABLE_MSVC(4100) QT_WARNING_DISABLE_MSVC(4146) QT_WARNING_DISABLE_MSVC(4267) QT_WARNING_DISABLE_MSVC(4624) +QT_WARNING_DISABLE_GCC("-Wnonnull") #include <llvm/ADT/StringRef.h> #include <clang/Basic/SourceLocation.h> diff --git a/src/linguist/lupdate/lupdatepreprocessoraction.h b/src/linguist/lupdate/lupdatepreprocessoraction.h index e97963e62..b1ee468d4 100644 --- a/src/linguist/lupdate/lupdatepreprocessoraction.h +++ b/src/linguist/lupdate/lupdatepreprocessoraction.h @@ -12,6 +12,7 @@ QT_WARNING_DISABLE_MSVC(4100) QT_WARNING_DISABLE_MSVC(4146) QT_WARNING_DISABLE_MSVC(4267) QT_WARNING_DISABLE_MSVC(4624) +QT_WARNING_DISABLE_GCC("-Wnonnull") #include <clang/Frontend/CompilerInstance.h> #include <clang/Frontend/FrontendActions.h> |