Package: fityk
Version: 0.5.1-2
Severity: important
Tags: patch

Your package fails to build with G++ 4.1.  I'm filing this bug as
important for now, but when 4.1 will be the default compiler in
unstable (probably in a few weeks) I'll upgrade this to serious.

A patch is below.


> Automatic build of fityk_0.5.1-2 on bigsur by sbuild/mips 1.86
...
> if mips-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. 
> -DHELP_DIR=\"/usr/share/fityk/fityk\"   -Wall -ftemplate-depth-50  -g -O2 -MT 
> other.o -MD -MP -MF ".deps/other.Tpo" -c -o other.o other.cpp; \
>       then mv -f ".deps/other.Tpo" ".deps/other.Po"; else rm -f 
> ".deps/other.Tpo"; exit 1; fi
> data.h:64: error: extra qualification 'Data::' on member 'get_load_cmd'
> make[4]: *** [other.o] Error 1

--- ./src/data.h~       2006-03-11 15:19:24.000000000 +0000
+++ ./src/data.h        2006-03-11 15:19:30.000000000 +0000
@@ -61,7 +61,7 @@
     //return points at x (if any) or (usually) after it.
     std::vector<Point>::const_iterator get_point_at(fp x) const;
     void export_to_file (std::string filename, bool append);
-    std::string Data::get_load_cmd();
+    std::string get_load_cmd();
     void export_as_script (std::ostream& os);
     fp get_x_min() { return p.front().x; }
     fp get_x_max() { return p.back().x; } 
--- ./src/wx_plot.h~    2006-03-11 15:24:06.000000000 +0000
+++ ./src/wx_plot.h     2006-03-11 15:24:12.000000000 +0000
@@ -52,7 +52,7 @@
          
     ~FPlot() {}
     wxColour get_bg_color() { return backgroundBrush.GetColour(); }
-    void FPlot::draw_crosshair(int X, int Y);
+    void draw_crosshair(int X, int Y);
     virtual void save_settings(wxConfigBase *cf) const;
     virtual void read_settings(wxConfigBase *cf);
     virtual void Draw(wxDC &dc) = 0;

-- 
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