I am attempting to compile sage-5.0.beta10. I see there is a new patch in linbox for commentator.C. But it is not working for me.

The attached patch did work for me, and I was wondering if it would be a problem for anyone else if this patch was used instead. This is a replacement for linbox-1.1.6.p7/patches/disable_commentator.patch. Basically I put the "#ifndef" statement around all the code in commentator.C.

I have a few other patches that are needed for FreeBSD, but they are mostly all very small in nature. I'll get around to sending them to you guys over the summer.

--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to 
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org
--- src/linbox/util/commentator.C-orig	2012-03-27 04:53:46.000000000 +0000
+++ src/linbox/util/commentator.C	2012-03-27 04:55:20.000000000 +0000
@@ -40,6 +40,8 @@
 #include "linbox/util/debug.h"
 #include "linbox/util/timer.h"
 
+#ifndef DISABLE_COMMENTATOR
+
 namespace LinBox 
 {
 	// -----------------------------------------------------
@@ -723,3 +725,5 @@
 	// Default global commentator
 	Commentator commentator;
 }
+
+#endif

Reply via email to