]> sourceware.org Git - systemtap.git/commitdiff
PR5017: gcc4.3 build fixes
authorfche <fche>
Tue, 11 Dec 2007 13:45:28 +0000 (13:45 +0000)
committerfche <fche>
Tue, 11 Dec 2007 13:45:28 +0000 (13:45 +0000)
2007-12-11  Frank Ch. Eigler  <fche@elastic.org>

* staptree.cxx, staptree.h: More GCC 4.3 build fixes from
Eugeniy Meshcheryakov <eugen@debian.org>.

ChangeLog
staptree.cxx
staptree.h

index d446c63b842c08cc507003532a464aa2b15aa08c..2333dfc570c83968586eef5716cb0f06b10e0309 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2007-12-11  Frank Ch. Eigler  <fche@elastic.org>
+
+       * staptree.cxx, staptree.h: More GCC 4.3 build fixes from
+       Eugeniy Meshcheryakov <eugen@debian.org>.
+
 2007-12-05  William Cohen  <wcohen@redhat.com>
 
        * systemtap.spec.in: Correct Source to point to location contain code.
index d0b4a0ed352ba005fdaebf1ba5e9dd17d8584be0..8cd9ca83e6e2d955006857d036898aa60ead735a 100644 (file)
@@ -15,6 +15,7 @@
 #include <typeinfo>
 #include <sstream>
 #include <cassert>
+#include <cstring>
 #include <vector>
 #include <algorithm>
 
index 9e32d16b8d6edf6f47ed13be0fd07019ba6d5f9e..a1a5ebd27ca78609d2c4041bc962dcfcd12dc33d 100644 (file)
@@ -835,7 +835,7 @@ struct deep_copy_visitor: public visitor
   virtual void visit_hist_op (hist_op* e);
 };
 
-template <typename T> static void
+template <typename T> void
 require (deep_copy_visitor* v, T* dst, T src)
 {
   *dst = NULL;
@@ -874,7 +874,7 @@ require <indexable *> (deep_copy_visitor* v, indexable** dst, indexable* src)
     }
 }
 
-template <typename T> static void
+template <typename T> void
 provide (deep_copy_visitor* v, T src)
 {
   assert(!v->targets.empty());
This page took 0.037583 seconds and 5 git commands to generate.