The TestBed will not compile in gcc 4.3. Test.h uses rand but does not include the headers the declare it.
It is declared in <cstdlib>, I added the include line to the Test.h
Following is the diff to correct Test.h in revision 214.
-nick
PS: The line ending in many of the file are inconsistent. I don't fix them in my patches as that would obscure the actual change. Someone with commit access should run dos2unix on all the files(or a similar tool in windows).
Index: Examples/TestBed/Framework/Test.h
===================================================================
--- Examples/TestBed/Framework/Test.h (revision 214)
+++ Examples/TestBed/Framework/Test.h (working copy)
@@ -27,6 +27,7 @@
typedef Test* TestCreateFcn();
+#include <cstdlib>
#define RAND_LIMIT 32767
/// Random number in range [-1,1]
It is declared in <cstdlib>, I added the include line to the Test.h
Following is the diff to correct Test.h in revision 214.
-nick
PS: The line ending in many of the file are inconsistent. I don't fix them in my patches as that would obscure the actual change. Someone with commit access should run dos2unix on all the files(or a similar tool in windows).
Index: Examples/TestBed/Framework/Test.h
===================================================================
--- Examples/TestBed/Framework/Test.h (revision 214)
+++ Examples/TestBed/Framework/Test.h (working copy)
@@ -27,6 +27,7 @@
typedef Test* TestCreateFcn();
+#include <cstdlib>
#define RAND_LIMIT 32767
/// Random number in range [-1,1]