Fix problem with old Probcons code: couldn't be complied with modern gcc since string...
authorSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Thu, 3 Oct 2013 12:08:41 +0000 (13:08 +0100)
committerSasha Sherstnev <a.sherstnev@dundee.ac.uk>
Thu, 3 Oct 2013 12:08:41 +0000 (13:08 +0100)
binaries/src/probcons/CompareToRef.cc
binaries/src/probcons/Main.cc
binaries/src/probcons/ProjectPairwise.cc
binaries/src/probcons/SafeVector.h
binaries/src/probcons/compare
binaries/src/probcons/makegnuplot
binaries/src/probcons/probcons
binaries/src/probcons/project

index 142fa4c..6e49693 100644 (file)
@@ -18,6 +18,7 @@
 #include <cstdlib>
 #include <cerrno>
 #include <iomanip>
+#include <string.h>
 
 const char CORE_BLOCK = 'h';
 typedef pair<int,int> PII;
index 399b1a2..0542917 100644 (file)
@@ -23,6 +23,7 @@
 #include <cstdlib>
 #include <cerrno>
 #include <iomanip>
+#include <string.h>
 
 string parametersInputFilename = "";
 string parametersOutputFilename = "no training";
index 4696ba1..d2622b2 100644 (file)
@@ -18,6 +18,7 @@
 #include <cstdlib>
 #include <cerrno>
 #include <iomanip>
+#include <string.h>
 
 bool compressGaps = true;
 
index abf4b64..103e894 100644 (file)
@@ -10,6 +10,7 @@
 
 #include <cassert>
 #include <vector>
+#include <cstddef>
 
 /////////////////////////////////////////////////////////////////
 // SafeVector
index bae79b5..8cbeac3 100644 (file)
Binary files a/binaries/src/probcons/compare and b/binaries/src/probcons/compare differ
index fb52860..2327c39 100644 (file)
Binary files a/binaries/src/probcons/makegnuplot and b/binaries/src/probcons/makegnuplot differ
index 04906ea..fc8451f 100644 (file)
Binary files a/binaries/src/probcons/probcons and b/binaries/src/probcons/probcons differ
index 991ac2c..93d4500 100644 (file)
Binary files a/binaries/src/probcons/project and b/binaries/src/probcons/project differ