Patch for compiling with GCC 4.3

--- speedcrunch-0.8.orig/src/testhmath.cpp
+++ speedcrunch-0.8/src/testhmath.cpp
@@ -21,6 +21,7 @@

 #include <iostream>
 #include <string.h>
+#include <cstdlib>

 #include "hmath.h"

--- speedcrunch-0.8.orig/src/CMakeLists.txt
+++ speedcrunch-0.8/src/CMakeLists.txt
@@ -122,7 +122,7 @@

 # enable warnings
 if(CMAKE_COMPILER_IS_GNUCXX )
-  ADD_DEFINITIONS( -Wall -Werror )
+  ADD_DEFINITIONS( -Wall )
 endif(CMAKE_COMPILER_IS_GNUCXX )

 # setup for Qt4



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to