Package: ivtools
Version: 1.1.3-5.1
Severity: serious
Tags: patch

This package fails to compile with GCC 4.1 which will become the
default compiler today:

> Automatic build of ivtools_1.1.3-5.1 on test.track.rz.uni-augsburg.de by 
> sbuild/powerpc 0.44
...
> make[4]: Entering directory `/build/tbm/ivtools-1.1.3/src/IV/LINUX'
> g++ -O2  -gdwarf-2 -O2 -fPIC  -Dcplusplus_2_1 -Wno-deprecated    
> -I/build/tbm/ivtools-1.1.3/src/IV/LINUX/.. 
> -I/build/tbm/ivtools-1.1.3/src/IV/LINUX/../..  -I/build/tbm/ivtools-1.1.3/src 
>  -I/build/tbm/ivtools-1.1.3/src/include 
> -I/build/tbm/ivtools-1.1.3/src/include/ivstd -I/usr/X11R6/include     -c 
> /build/tbm/ivtools-1.1.3/src/IV/LINUX/../../InterViews/style.c
> /build/tbm/ivtools-1.1.3/src/IV/LINUX/../../InterViews/style.c:123: error: 
> extra qualification 'ivStyleRep::' on member 'finish_match'
> make[4]: *** [style.o] Error 1


--- src/FrameUnidraw/framecmds.h~       2006-06-07 13:12:09.000000000 +0100
+++ src/FrameUnidraw/framecmds.h        2006-06-07 13:12:18.000000000 +0100
@@ -125,7 +125,7 @@
 
     static MoveFrameCmd* default_instance() { return _default; }
     // return a default instance of the MoveFrameCmd.
-    static void MoveFrameCmd::default_instance(MoveFrameCmd* cmd)
+    static void default_instance(MoveFrameCmd* cmd)
       { _default = cmd; }
     // set a default instance of the MoveFrameCmd.
     
@@ -315,7 +315,7 @@
     virtual boolean Reversible();
 
     static AutoNewFrameCmd* default_instance() { return _default; }
-    static void AutoNewFrameCmd::default_instance(AutoNewFrameCmd* cmd)
+    static void default_instance(AutoNewFrameCmd* cmd)
       { _default = cmd; }
     
 protected:
--- src/InterViews/style.c~     2006-06-07 13:05:32.000000000 +0100
+++ src/InterViews/style.c      2006-06-07 13:05:38.000000000 +0100
@@ -118,7 +118,7 @@
        const UniqueString& name, const StyleAttributeTableEntry&,
        const StyleList&, long s_index, String& value
     );
-    int StyleRep::finish_match(
+    int finish_match(
        const StyleList&, long s_index, const UniqueStringList&, long p_index
     );
 };
--- src/OverlayUnidraw/ovcmds.h~        2006-06-07 13:08:55.000000000 +0100
+++ src/OverlayUnidraw/ovcmds.h 2006-06-07 13:09:01.000000000 +0100
@@ -259,7 +259,7 @@
 
     static OvNewViewCmd* default_instance() { return _default; }
     // return default instance of this command.
-    static void OvNewViewCmd::default_instance(OvNewViewCmd* cmd)
+    static void default_instance(OvNewViewCmd* cmd)
       { _default = cmd; }
     // set default instance of this command.
     

-- 
Martin Michlmayr
http://www.cyrius.com/


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

Reply via email to