[ScryMUD] SVN Commit Info r866 - in trunk/mud: . lib/containers

scrymud at wanfear.com scrymud at wanfear.com
Thu Feb 8 20:35:23 PST 2007


Author: eroper
Date: 2007-02-08 20:35:23 -0800 (Thu, 08 Feb 2007)
New Revision: 866

Modified:
   trunk/mud/configure
   trunk/mud/lib/containers/list2.h
Log:
Two changes courtesy of "Huz" from the forums.

1. The configure script checks for gcc major version >= 3 with "$ver[0] == 3".
Patch to configure attached.

2. The first attempt to build fell over horribly, the core of the complaint
being that assert() was being used without having been declared. Patch to
list2.h attached.


Modified: trunk/mud/configure
===================================================================
--- trunk/mud/configure	2007-02-08 19:18:38 UTC (rev 865)
+++ trunk/mud/configure	2007-02-09 04:35:23 UTC (rev 866)
@@ -52,7 +52,7 @@
 }
 
 
-if ($ver[0] == 3) {
+if ($ver[0] >= 3) {
   print "Version >= 3, no hacks needed.\n";
   print OFILE "HUGE_OBJECTS = \n";
   print OFILE "GUIDING_DECLS = \n";

Modified: trunk/mud/lib/containers/list2.h
===================================================================
--- trunk/mud/lib/containers/list2.h	2007-02-08 19:18:38 UTC (rev 865)
+++ trunk/mud/lib/containers/list2.h	2007-02-09 04:35:23 UTC (rev 866)
@@ -37,6 +37,7 @@
 #include <stdlib.h> 
 #include <iostream>
 #include <fstream>
+#include <cassert>
 #include <LogStream.h>
 #include <string2.h>
 




More information about the ScryMUD mailing list