Package: gabber
Version: 0.8.8-6
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 gabber_0.8.8-6 on bigsur by sbuild/mips 1.86
...
> make[7]: Entering directory `/build/tbm/gabber-0.8.8/jabberoo/libjudo/src'
> source='judo.cpp' object='judo.lo' libtool=yes \
>       depfile='.deps/judo.Plo' tmpdepfile='.deps/judo.TPlo' \
>       depmode=gcc3 /bin/sh ../../depcomp \
>       /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. 
> -I../.. -I./expat -I.    -O2 -c -o judo.lo `test -f 'judo.cpp' || echo 
> './'`judo.cpp
> mkdir .libs
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./expat -I. -O2 -c judo.cpp -MT judo.lo 
> -MD -MP -MF .deps/judo.TPlo  -fPIC -DPIC
> judo.hpp:320: error: extra qualification 'judo::Element::' on member 'erase'
> make[7]: *** [judo.lo] Error 1

--- ./jabberoo/libjudo/src/judo.hpp~    2006-03-12 01:02:23.000000000 +0000
+++ ./jabberoo/libjudo/src/judo.hpp     2006-03-12 01:02:29.000000000 +0000
@@ -317,7 +317,7 @@
           Delete the child Node designated by the supplied iterator.
           @param it Iterator pointing to the child Node 
        */
-       void Element::erase(Element::iterator it)
+       void erase(Element::iterator it)
            { delete *it; _children.erase(it); }
 
        Element* findElement(const std::string& name);
--- ./jabberoo/include/jabberoo.hh~     2006-03-12 01:03:06.000000000 +0000
+++ ./jabberoo/include/jabberoo.hh      2006-03-12 01:03:25.000000000 +0000
@@ -357,7 +357,7 @@
                * be generated and sent.
                * @return The delivered message event which should be sent.
                */
-              Message Message::delivered() const;
+              Message delivered() const;
 
               /**
                * Create a message event stating that this Message has been 
displayed.
@@ -365,7 +365,7 @@
                * be generated and sent.
                * @return The displayed message event which should be sent.
                */             
-              Message Message::displayed() const;
+              Message displayed() const;
 
               /**
                * Create a message event stating that this Message is being 
replied to.
@@ -373,7 +373,7 @@
                * be generated and sent.
                * @return The composing message event which should be sent.
                */
-              Message Message::composing() const;
+              Message composing() const;
 
               // Static class methods
               /**
--- ./src/GabberApp.hh~ 2006-03-12 01:04:18.000000000 +0000
+++ ./src/GabberApp.hh  2006-03-12 01:04:21.000000000 +0000
@@ -87,7 +87,7 @@
      void on_session_roster(const judo::Element& t);
      void on_session_disconnected();
      void on_session_version(string& name, string& version, string& os);
-     void GabberApp::on_session_time(string& UTF8Time, string& UTF8TimeZone);
+     void on_session_time(string& UTF8Time, string& UTF8TimeZone);
      void on_session_presence(const jabberoo::Presence& p, 
jabberoo::Presence::Type prev);
      void on_session_my_presence(const jabberoo::Presence& p);
 
--- ./src/GabberUtility.hh~     2006-03-12 01:05:26.000000000 +0000
+++ ./src/GabberUtility.hh      2006-03-12 01:05:39.000000000 +0000
@@ -118,10 +118,10 @@
      : public SigC::Object
 {
 public:
-     FileSel::FileSel(const string& filename, const string& title, const 
string& log);
+     FileSel(const string& filename, const string& title, const string& log);
 protected:
-     void FileSel::on_ok_clicked();
-     void FileSel::on_cancel_clicked();
+     void on_ok_clicked();
+     void on_cancel_clicked();
 private:
      const string& _log;
      Gtk::FileSelection* _fileSel;
--- ./src/AutoAway.hh~  2006-03-12 01:07:17.000000000 +0000
+++ ./src/AutoAway.hh   2006-03-12 01:07:23.000000000 +0000
@@ -44,7 +44,7 @@
      void on_session_disconnected();
      void on_session_last(string &idletime);
      gint auto_away_timer();
-     void AutoAway::update_statusbar_aatime_msg(unsigned long idle_time);
+     void update_statusbar_aatime_msg(unsigned long idle_time);
 
      void set_away(jabberoo::Presence::Show show);
      void set_back();

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