Index: /trunk/Mars/mcore/zofits.h
===================================================================
--- /trunk/Mars/mcore/zofits.h	(revision 17288)
+++ /trunk/Mars/mcore/zofits.h	(revision 17289)
@@ -332,5 +332,13 @@
 
             if (!imin->emplace(InitNextCompression()))
+            {
+#ifdef __EXCEPTIONS
                 throw std::runtime_error("The compression queues are not started. Did you close the file before writing this row?");
+#else
+                gLog << ___err___ << "The compression queues are not started. Did you close the file before writing this row?" << std::endl;
+                errno = 0;
+                return false;
+#endif
+            }
 
             errno = fErrno;
