summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-12-06 01:38:17 +0000
committerFrançois Bobot <francois@bobot.eu>2012-12-06 11:21:17 +0100
commite90877c392971112636cf28d521d1fd525824009 (patch)
treeea6f53c462048fa8f356b5cd437e9b89802fbdfc /src/util
parent529a7b1af9077c5629bcde28b185e4a8dffe1d62 (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. (cherry picked from commit 8c8985f024cec925f774ff32ebccc306be8e4b26)
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