summaryrefslogtreecommitdiff
path: root/src/util/configuration.cpp
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2011-09-21 05:02:58 +0000
committerMorgan Deters <mdeters@gmail.com>2011-09-21 05:02:58 +0000
commit5f742fbd0ddb1b7e89bd9f7ce8fd38bed2ebc3db (patch)
treef0e192ace74db8cc2d8df4348a15d49560b8dd2b /src/util/configuration.cpp
parent3b1689612bb2ff984aa90cd84093ffc043d78ba9 (diff)
Java binding now working. Some interface types still need some work (e.g. iterators aren't functional). Also, output isn't very flexible yet, as I told SWIG to ignore all the operator<<'s.
Diffstat (limited to 'src/util/configuration.cpp')
-rw-r--r--src/util/configuration.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/util/configuration.cpp b/src/util/configuration.cpp
index 062aca478..7225b8108 100644
--- a/src/util/configuration.cpp
+++ b/src/util/configuration.cpp
@@ -137,7 +137,8 @@ char const* const* Configuration::getDebugTags() {
#if CVC4_DEBUG
return Debug_tags;
#else /* CVC4_DEBUG */
- return NULL;
+ static char const* no_tags[] = { NULL };
+ return no_tags;
#endif /* CVC4_DEBUG */
}
@@ -153,7 +154,8 @@ char const* const* Configuration::getTraceTags() {
#if CVC4_TRACING
return Trace_tags;
#else /* CVC4_TRACING */
- return NULL;
+ static char const* no_tags[] = { NULL };
+ return no_tags;
#endif /* CVC4_TRACING */
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback