tags 572747 upstream 
tags 572747 patch
thanks

I've sent two patches to the xmds-devel list. I attach them here as
well.

        Thomas

--- xmds-1.6.6.orig/source/xmds_breakpoint.cc
+++ xmds-1.6.6/source/xmds_breakpoint.cc
@@ -229,7 +229,7 @@
     }
 
     fprintf(outfile,
-        "char *_baseFilename = \"%s\";\n", xsilFilename.c_str());
+        "char const *_baseFilename = \"%s\";\n", xsilFilename.c_str());
   }
 
   if (simulation()->parameters()->usempi &&

--- xmds-1.6.6.orig/source/xmds_simulation.cc
+++ xmds-1.6.6/source/xmds_simulation.cc
@@ -1118,6 +1118,7 @@
           "#include <stdio.h>\n"
           "#include <math.h>\n"
           "#include <string>\n"
+          "#include <cstring>\n"
           "#include <fstream>\n"
           "#include <iostream>\n"
           "#include <sstream>\n"

Reply via email to