[SCM] an open source computer algebra system branch, debian, updated. 135ce5a283b0c913d2722c86fa55fffa2e22f4db

Bernhard R. Link brlink at debian.org
Sun Feb 19 20:34:14 UTC 2012


The following commit has been merged in the debian branch:
commit c8710571ba8c96aef1755dec9c2a10775da5bb0b
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 5590bbc..098e8b8 100644
--- a/factory/assert.h
+++ b/factory/assert.h
@@ -127,3 +127,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