summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-12-06 01:38:17 +0000
committerMorgan Deters <mdeters@gmail.com>2012-12-06 01:38:17 +0000
commit8c8985f024cec925f774ff32ebccc306be8e4b26 (patch)
tree995253cc03ff5c711b4d1778792692c81961b146 /src/util
parentbd0a6c39c56c6ad2bf12e7b9fd41db1772fed9cd (diff)
* some build fixes; thanks; thanks to Kunal Ganeshpure for noting these issues
* build bugfix for win32 * also fix a bug re: tuples and records in the datatypes rewriter These fixes are for both trunk and 1.0.x branches.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/exception.h1
-rw-r--r--src/util/lemma_input_channel.h2
-rw-r--r--src/util/lemma_output_channel.h2
-rw-r--r--src/util/proof.h1
4 files changed, 6 insertions, 0 deletions
diff --git a/src/util/exception.h b/src/util/exception.h
index 31318775f..b367f20e5 100644
--- a/src/util/exception.h
+++ b/src/util/exception.h
@@ -22,6 +22,7 @@
#include <iostream>
#include <string>
#include <sstream>
+#include <stdexcept>
#include <exception>
#include <cstdlib>
#include <cstdarg>
diff --git a/src/util/lemma_input_channel.h b/src/util/lemma_input_channel.h
index 785ddada3..44ab05a41 100644
--- a/src/util/lemma_input_channel.h
+++ b/src/util/lemma_input_channel.h
@@ -26,6 +26,8 @@ namespace CVC4 {
class CVC4_PUBLIC LemmaInputChannel {
public:
+ virtual ~LemmaInputChannel() throw() { }
+
virtual bool hasNewLemma() = 0;
virtual Expr getNewLemma() = 0;
diff --git a/src/util/lemma_output_channel.h b/src/util/lemma_output_channel.h
index 8b37fe0da..47ba7c346 100644
--- a/src/util/lemma_output_channel.h
+++ b/src/util/lemma_output_channel.h
@@ -32,6 +32,8 @@ namespace CVC4 {
*/
class CVC4_PUBLIC LemmaOutputChannel {
public:
+ virtual ~LemmaOutputChannel() throw() { }
+
/**
* Notifies this output channel that there's a new lemma.
* The lemma may or may not be in CNF.
diff --git a/src/util/proof.h b/src/util/proof.h
index 6539dadc8..9d189e994 100644
--- a/src/util/proof.h
+++ b/src/util/proof.h
@@ -26,6 +26,7 @@ namespace CVC4 {
class CVC4_PUBLIC Proof {
public:
+ virtual ~Proof() { }
virtual void toStream(std::ostream& out) = 0;
};/* class Proof */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback