about summary refs log tree commit diff homepage
path: root/lib
diff options
context:
space:
mode:
authorCristian Cadar <cristic@cs.stanford.edu>2009-05-28 05:29:24 +0000
committerCristian Cadar <cristic@cs.stanford.edu>2009-05-28 05:29:24 +0000
commit4fa061a181f05c6c06de0185bee7f322b5ef0db9 (patch)
tree45d45791f77b599429e91dee5cdf56e7ba331f3b /lib
parentd5e3206198cb3c7489a2ba817dfdd4fe6587e143 (diff)
downloadklee-4fa061a181f05c6c06de0185bee7f322b5ef0db9.tar.gz
Small changes to silence some gcc warnings.
git-svn-id: https://llvm.org/svn/llvm-project/klee/trunk@72518 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Core/TimingSolver.h2
-rw-r--r--lib/Expr/Parser.cpp1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/Core/TimingSolver.h b/lib/Core/TimingSolver.h
index 875216d9..b92cfc32 100644
--- a/lib/Core/TimingSolver.h
+++ b/lib/Core/TimingSolver.h
@@ -37,7 +37,7 @@ namespace klee {
     TimingSolver(Solver *_solver, STPSolver *_stpSolver, 
                  bool _simplifyExprs = true) 
       : solver(_solver), stpSolver(_stpSolver), simplifyExprs(_simplifyExprs) {}
-    ~TimingSolver() {
+    virtual ~TimingSolver() {
       delete solver;
     }
 
diff --git a/lib/Expr/Parser.cpp b/lib/Expr/Parser.cpp
index f5708384..dba089a5 100644
--- a/lib/Expr/Parser.cpp
+++ b/lib/Expr/Parser.cpp
@@ -22,6 +22,7 @@
 #include <cassert>
 #include <iostream>
 #include <map>
+#include <cstring>
 
 using namespace llvm;
 using namespace klee;