Hi,

Below is the patch which fixes some (reasonable) compiler warnings
produced by older compiler.

Index: src/Function.hh
===================================================================
--- src/Function.hh	(revision 897)
+++ src/Function.hh	(working copy)
@@ -52,7 +52,7 @@
    /// constructor for most functions
    Function(TokenTag _tag)
    : NamedObject(ID::Id(_tag >> 16)),
-     creation_time(0.0),
+     creation_time(0),
      tag(_tag)
    { parallel_thresholds[0] = parallel_thresholds[1] = -1; }
 
@@ -59,7 +59,7 @@
    /// constructor for functions whose Id does not match their tag
    Function(ID::Id id, TokenTag _tag)
    : NamedObject(id),
-     creation_time(0.0),
+     creation_time(0),
      tag(_tag)
    { parallel_thresholds[0] = parallel_thresholds[1] = -1; }
 
Index: src/Performance.hh
===================================================================
--- src/Performance.hh	(revision 897)
+++ src/Performance.hh	(working copy)
@@ -155,7 +155,7 @@
    {}
 
    /// destructor
-   ~Statistics();
+   virtual ~Statistics();
 
    /// print statistics
    virtual void print(ostream & out) = 0;

-- 
Br,
/Alexey

Reply via email to