Package: glademm
Version: 2.6.0-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 attached.
> Automatic build of glademm_2.6.0-1.2 on em64t by sbuild/amd64 1.106
...
> if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..
> -I../SourceWriter -Wall -g -O2 -MT gnome_app.o -MD -MP -MF
> ".deps/gnome_app.Tpo" -c -o gnome_app.o gnome_app.cc; \
> then mv -f ".deps/gnome_app.Tpo" ".deps/gnome_app.Po"; else rm -f
> ".deps/gnome_app.Tpo"; exit 1; fi
> WriterBase.hh:33: warning: 'class WriterBase' has virtual functions but
> non-virtual destructor
> widget.hh:25: warning: 'class Gtk_Widget' has virtual functions but
> non-virtual destructor
> container.hh:25: warning: 'class Gtk_Container' has virtual functions but
> non-virtual destructor
> bin.hh:25: warning: 'class Gtk_Bin' has virtual functions but non-virtual
> destructor
> window.hh:23: warning: 'class Gtk_Window' has virtual functions but
> non-virtual destructor
> gnome_app.hh:31: error: extra qualification 'Gnome_App::' on member
> 'IsSubwidget'
> gnome_app.hh:23: warning: 'class Gnome_App' has virtual functions but
> non-virtual destructor
> make[4]: *** [gnome_app.o] Error 1
--- ./src/writers/gnome_app.hh~ 2006-03-24 23:33:48.000000000 +0000
+++ ./src/writers/gnome_app.hh 2006-03-24 23:33:51.000000000 +0000
@@ -28,7 +28,7 @@
virtual bool NeedExplicitCtor(const Widget &w) const;
virtual void ConstructionArgs(const Widget &w, CxxFile &f) const;
virtual void Configure(const Widget &w, CxxFile &f,const std::string
&instance) const;
- virtual Subwidget Gnome_App::IsSubwidget(const Widget &w,const Widget
&ch) const;
+ virtual Subwidget IsSubwidget(const Widget &w,const Widget &ch) const;
virtual const std::string InternalInstance(const Widget &parent,const
Widget &w2) const;
virtual void AddChildren(const Widget &w,CxxFile &f,const std::string
&instance,const WriterBase &writer_for_subw, const Widget &widget_for_subw)
const;
};
--
Martin Michlmayr
http://www.cyrius.com/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]