about summary refs log tree commit diff homepage
path: root/tools
diff options
context:
space:
mode:
authorMartin Nowack <m.nowack@imperial.ac.uk>2023-03-27 15:21:51 +0100
committerCristian Cadar <c.cadar@imperial.ac.uk>2023-04-06 16:03:03 +0300
commit81ff90b3fc4f38abea2ab9472924dcdf0d1f10fe (patch)
tree233c37c1339142a86089fc7ef2bedd2bd95456b3 /tools
parent2769f1f4dc3515a8b5fc22ccf3e30b906faef75d (diff)
downloadklee-81ff90b3fc4f38abea2ab9472924dcdf0d1f10fe.tar.gz
Support disabling compiler warnings; Use with external headers
Diffstat (limited to 'tools')
-rw-r--r--tools/klee/main.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/klee/main.cpp b/tools/klee/main.cpp
index ddb1faec..c35d9561 100644
--- a/tools/klee/main.cpp
+++ b/tools/klee/main.cpp
@@ -24,6 +24,9 @@
 #include "klee/Support/PrintVersion.h"
 #include "klee/System/Time.h"
 
+#include "klee/Support/CompilerWarning.h"
+DISABLE_WARNING_PUSH
+DISABLE_WARNING_DEPRECATED_DECLARATIONS
 #include "llvm/Bitcode/BitcodeReader.h"
 #include "llvm/IR/Constants.h"
 #include "llvm/IR/IRBuilder.h"
@@ -43,7 +46,7 @@
 
 #include "llvm/Support/TargetSelect.h"
 #include "llvm/Support/Signals.h"
-
+DISABLE_WARNING_POP
 
 #include <dirent.h>
 #include <signal.h>