summaryrefslogtreecommitdiff
path: root/src/main/util.cpp
diff options
context:
space:
mode:
authorACSYS <cvc4-devel@cs.nyu.edu>2010-09-27 22:26:46 +0000
committerACSYS <cvc4-devel@cs.nyu.edu>2010-09-27 22:26:46 +0000
commit753a072c542c1c254d7c6adbf10e091ba585ede5 (patch)
tree5ab9157fe0d3f265f82a94f7f4e5940697b54ee5 /src/main/util.cpp
parent595751a1814cc9375318c9c158caf6426eeda791 (diff)
add workaround for systems (i.e., Mac OS X) that don't support __thread; also configure script auto-detection of __thread support and syntax
Diffstat (limited to 'src/main/util.cpp')
-rw-r--r--src/main/util.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/util.cpp b/src/main/util.cpp
index 968563b97..ddb9f84c8 100644
--- a/src/main/util.cpp
+++ b/src/main/util.cpp
@@ -94,7 +94,8 @@ void cvc4unexpected() {
fprintf(stderr,
"The exception is unknown (maybe it's not a CVC4::Exception).\n\n");
} else {
- fprintf(stderr, "The exception is:\n%s\n\n", CVC4::s_debugLastException);
+ fprintf(stderr, "The exception is:\n%s\n\n",
+ static_cast<const char*>(CVC4::s_debugLastException));
}
if(segvNoSpin) {
fprintf(stderr, "No-spin requested.\n");
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback