Index: /libyaml/trunk/tests/test-reader.c
===================================================================
--- /libyaml/trunk/tests/test-reader.c	(revision 208)
+++ /libyaml/trunk/tests/test-reader.c	(revision 242)
@@ -6,4 +6,8 @@
 #include <stdlib.h>
 #include <stdio.h>
+
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
 #include <assert.h>
 
Index: /libyaml/trunk/tests/test-version.c
===================================================================
--- /libyaml/trunk/tests/test-version.c	(revision 208)
+++ /libyaml/trunk/tests/test-version.c	(revision 242)
@@ -3,4 +3,8 @@
 #include <stdlib.h>
 #include <stdio.h>
+
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
 #include <assert.h>
 
Index: /libyaml/trunk/tests/run-loader.c
===================================================================
--- /libyaml/trunk/tests/run-loader.c	(revision 238)
+++ /libyaml/trunk/tests/run-loader.c	(revision 242)
@@ -3,4 +3,8 @@
 #include <stdlib.h>
 #include <stdio.h>
+
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
 #include <assert.h>
 
Index: /libyaml/trunk/tests/run-emitter.c
===================================================================
--- /libyaml/trunk/tests/run-emitter.c	(revision 238)
+++ /libyaml/trunk/tests/run-emitter.c	(revision 242)
@@ -3,6 +3,10 @@
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
+
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
 #include <assert.h>
-#include <string.h>
 
 #define BUFFER_SIZE 65536
Index: /libyaml/trunk/tests/run-scanner.c
===================================================================
--- /libyaml/trunk/tests/run-scanner.c	(revision 210)
+++ /libyaml/trunk/tests/run-scanner.c	(revision 242)
@@ -3,4 +3,8 @@
 #include <stdlib.h>
 #include <stdio.h>
+
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
 #include <assert.h>
 
Index: /libyaml/trunk/tests/run-dumper.c
===================================================================
--- /libyaml/trunk/tests/run-dumper.c	(revision 238)
+++ /libyaml/trunk/tests/run-dumper.c	(revision 242)
@@ -3,6 +3,10 @@
 #include <stdlib.h>
 #include <stdio.h>
+#include <string.h>
+
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
 #include <assert.h>
-#include <string.h>
 
 #define BUFFER_SIZE 65536
@@ -115,5 +119,7 @@
             }
             break;
-
+        default:
+            assert(0);
+            break;
     }
     return 1;
Index: /libyaml/trunk/tests/run-parser.c
===================================================================
--- /libyaml/trunk/tests/run-parser.c	(revision 210)
+++ /libyaml/trunk/tests/run-parser.c	(revision 242)
@@ -3,4 +3,8 @@
 #include <stdlib.h>
 #include <stdio.h>
+
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
 #include <assert.h>
 
