projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
161bf31
)
give an option error if the user specifies --proof in a non-proof-enabled build
author
Morgan Deters
<mdeters@gmail.com>
Wed, 2 Nov 2011 13:05:11 +0000
(13:05 +0000)
committer
Morgan Deters
<mdeters@gmail.com>
Wed, 2 Nov 2011 13:05:11 +0000
(13:05 +0000)
src/util/options.cpp
patch
|
blob
|
history
diff --git
a/src/util/options.cpp
b/src/util/options.cpp
index 3e877c541cfddb46ca37479d00e4e8967c9c3f4e..3b7b7b08c50860b7397ce7d1322ffd0149e44102 100644
(file)
--- a/
src/util/options.cpp
+++ b/
src/util/options.cpp
@@
-638,7
+638,11
@@
throw(OptionException) {
break;
case PROOF:
+#ifdef CVC4_PROOF
proof = true;
+#else /* CVC4_PROOF */
+ throw OptionException("This is not a proof-enabled build of CVC4; --proof cannot be used");
+#endif /* CVC4_PROOF */
break;
case NO_TYPE_CHECKING: