From 81ff90b3fc4f38abea2ab9472924dcdf0d1f10fe Mon Sep 17 00:00:00 2001 From: Martin Nowack Date: Mon, 27 Mar 2023 15:21:51 +0100 Subject: Support disabling compiler warnings; Use with external headers --- lib/Core/MemoryManager.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/Core/MemoryManager.cpp') diff --git a/lib/Core/MemoryManager.cpp b/lib/Core/MemoryManager.cpp index 0e47500a..ffd08886 100644 --- a/lib/Core/MemoryManager.cpp +++ b/lib/Core/MemoryManager.cpp @@ -16,6 +16,9 @@ #include "klee/Expr/Expr.h" #include "klee/Support/ErrorHandling.h" +#include "klee/Support/CompilerWarning.h" +DISABLE_WARNING_PUSH +DISABLE_WARNING_DEPRECATED_DECLARATIONS #include "llvm/IR/GlobalVariable.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/MathExtras.h" @@ -24,6 +27,7 @@ #else #include "llvm/Support/MathExtras.h" #endif +DISABLE_WARNING_POP #include #include -- cgit 1.4.1