Package: monotone
Version: 0.24-1
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 monotone_0.24-1 on bigsur by sbuild/mips 1.106
...
> if g++ -DLOCALEDIR=\"/usr/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.     
> -DNDEBUG -DBOOST_DISABLE_THREADS -DBOOST_SP_DISABLE_THREADS -g -Wall -O2 
> -fno-strict-aliasing -Wall -MT unix/inodeprint.o -MD -MP -MF 
> "unix/.deps/inodeprint.Tpo" \
>         -c -o unix/inodeprint.o `test -f 'unix/inodeprint.cc' || echo 
> './'`unix/inodeprint.cc; \
>       then mv -f "unix/.deps/inodeprint.Tpo" "unix/.deps/inodeprint.Po"; \
>       else rm -f "unix/.deps/inodeprint.Tpo"; exit 1; \
>       fi
> ./work.hh:59: error: extra qualification 'file_itemizer::' on member 
> 'visit_file'
> ./app_state.hh:93: error: extra qualification 'app_state::' on member 
> 'set_restriction'
> make[3]: *** [unix/inodeprint.o] Error 1


--- ./work.hh~  2006-03-21 06:06:34.000000000 +0000
+++ ./work.hh   2006-03-21 06:06:40.000000000 +0000
@@ -56,7 +56,7 @@
   path_set & ignored;
   file_itemizer(app_state & a, path_set & k, path_set & u, path_set & i) 
     : app(a), known(k), unknown(u), ignored(i) {}
-  virtual void file_itemizer::visit_file(file_path const & path);
+  virtual void visit_file(file_path const & path);
 };
 
 void 
--- ./app_state.hh~     2006-03-21 06:06:44.000000000 +0000
+++ ./app_state.hh      2006-03-21 06:06:56.000000000 +0000
@@ -88,7 +88,7 @@
   void require_working_copy(std::string const & explanation = "");
   void create_working_copy(system_path const & dir);
 
-  void app_state::set_restriction(path_set const & valid_paths, 
+  void set_restriction(path_set const & valid_paths, 
                              std::vector<utf8> const & paths,
                              bool respect_ignore = true);
   bool restriction_includes(file_path const & path);

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