summaryrefslogtreecommitdiff
path: root/src/compat/cvc3_compat.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-09-16 21:30:27 +0000
committerMorgan Deters <mdeters@gmail.com>2011-09-16 21:30:27 +0000
commitc229389dbf99fa7a747a1bb713e41a3081b6d5fa (patch)
treef3f142c97174016730d675efb2810e90634a250e /src/compat/cvc3_compat.h
parent604201dc96acc33f23a677d20cdcaa32352b510b (diff)
some minor fixes to the cvc3 compatibility library and test case
Diffstat (limited to 'src/compat/cvc3_compat.h')
-rw-r--r--src/compat/cvc3_compat.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/compat/cvc3_compat.h b/src/compat/cvc3_compat.h
index 36c5c0f6a..fbb54a46c 100644
--- a/src/compat/cvc3_compat.h
+++ b/src/compat/cvc3_compat.h
@@ -66,13 +66,13 @@
// some #defines that CVC3 exported to userspace :(
#ifdef CVC4_DEBUG
-# define DebugAssert(cond, ...) Assert(cond, "CVC3-style assertion failed");
+# define DebugAssert(cond, str) Assert((cond), "CVC3-style assertion failed: %s", std::string(str).c_str());
# define IF_DEBUG(x) x
#else
# define DebugAssert(...)
# define IF_DEBUG(x)
#endif
-#define FatalAssert(cond, ...) AlwaysAssert(cond, "CVC3-style assertion failed");
+#define FatalAssert(cond, str) AlwaysAssert((cond), "CVC3-style assertion failed: %s", std::string(str).c_str());
//class CInterface;
@@ -443,8 +443,9 @@ std::ostream& operator<<(std::ostream& out, FormulaValue fv);
class CVC4_PUBLIC ValidityChecker {
CLFlags* d_clflags;
- CVC4::ExprManager d_em;
- CVC4::SmtEngine d_smt;
+ CVC4::Options d_options;
+ CVC4::ExprManager* d_em;
+ CVC4::SmtEngine* d_smt;
ValidityChecker(const CLFlags& clflags);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback