tags 455361 +patch
thanks

Hi,

I'm attaching a patch to fix this problem. Please take into account that
the gcc 4.3 issues are marked as release goals bugs, so if you don't upload a
fix soon it would probably be NMUed.

-- 
"The day Microsoft makes something that doesn't suck,
is probably the day Microsoft starts making vacuum cleaners."
        -- (Ernst Jan Plugge)
Saludos /\/\ /\ >< `/
--- hammerhead-2.1.3.orig/src/if.cc
+++ hammerhead-2.1.3/src/if.cc
@@ -11,6 +11,7 @@
 //
 
 #include "if.h"
+#include <cstring>
 
 
 If::If()
only in patch2:
unchanged:
--- hammerhead-2.1.3.orig/src/str.cc
+++ hammerhead-2.1.3/src/str.cc
@@ -18,6 +18,7 @@
 #include <algorithm>
 
 #include "str.h"
+#include <cctype>
 
 #define MAXTMP 256 
 
@@ -257,7 +258,7 @@
 string lowercase(const string& instr)
 {
     string InStr = instr;
-    transform(InStr.begin(), InStr.end(), InStr.begin(), tolower);
+    transform(InStr.begin(), InStr.end(), InStr.begin(), (int(*)(int)) tolower);
     return InStr;
 }
 

Reply via email to