[SCM] an open source computer algebra system branch, master-3-1-5, updated. dcebb184fbf374a8905edd0b02d7795bc29620e9
Felix Salfelder
felix at salfelder.org
Mon Jul 15 18:42:31 UTC 2013
The following commit has been merged in the master-3-1-5 branch:
commit 6f5575cb635bf80edef4add40147481d9784944b
Author: Felix Salfelder <felix at salfelder.org>
Date: Thu Feb 16 11:23:11 2012 +0100
assert needs to be defined after #include "assert.h",
also if -Ifactory is used.
diff --git a/factory/assert.h b/factory/assert.h
index 3dd036b..d2933a1 100644
--- a/factory/assert.h
+++ b/factory/assert.h
@@ -128,3 +128,9 @@ extern "C" {
#define PVIRT_CHARCC(msg) = 0
#endif /* NOASSERT */
/* }}} */
+
+
+//assert is expected to be available after '#include "assert.h"'
+#ifndef assert
+# define assert(a)
+#endif
--
an open source computer algebra system
More information about the debian-science-commits
mailing list