[Lemon-commits] Alpar Juttner: Fix compilation error when NDEBUG...
Lemon HG
hg at lemon.cs.elte.hu
Fri Jul 18 17:51:35 CEST 2008
details: http://lemon.cs.elte.hu/hg/lemon/rev/cfadfeef706f
changeset: 223:cfadfeef706f
user: Alpar Juttner <alpar [at] cs.elte.hu>
date: Fri Jul 18 16:36:54 2008 +0100
description:
Fix compilation error when NDEBUG is defined.
diffstat:
1 file changed, 4 insertions(+)
test/error_test.cc | 4 ++++
diffs (14 lines):
diff -r b67149f0e675 -r cfadfeef706f test/error_test.cc
--- a/test/error_test.cc Mon Jul 14 15:40:24 2008 +0100
+++ b/test/error_test.cc Fri Jul 18 16:36:54 2008 +0100
@@ -29,6 +29,10 @@
#ifdef LEMON_DISABLE_ASSERTS
#undef LEMON_DISABLE_ASSERTS
+#endif
+
+#ifdef NDEBUG
+#undef NDEBUG
#endif
//checking disabled asserts
More information about the Lemon-commits
mailing list