Package: config-manager
Version: 0.3-2
Severity: serious
Tags: patch

When building 'config-manager' on unstable,
I get the following error:

depbase=`echo src/File.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; \
        if x86_64-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I. 
-I./libgetopt/include    -g -O2 -MT src/File.o -MD -MP -MF "$depbase.Tpo" -c -o 
src/File.o src/File.cc; \
        then mv -f "$depbase.Tpo" "$depbase.Po"; else rm -f "$depbase.Tpo"; 
exit 1; fi
src/File.h:27: error: extra qualification 'File::' on member 'Copy'
make[3]: *** [src/File.o] Error 1
make[3]: Leaving directory `/config-manager-0.3'

With the attached patch 'config-manager' can be compiled using gcc-4.1.

Regards
Andreas Jochens

diff -urN ../tmp-orig/config-manager-0.3/src/File.h ./src/File.h
--- ../tmp-orig/config-manager-0.3/src/File.h   2005-12-31 03:25:57.000000000 
+0000
+++ ./src/File.h        2006-06-28 15:12:16.000000000 +0000
@@ -24,7 +24,7 @@
 class File : public FileSystemComposite
 {
 public:
-  static void File::Copy (string const &source, string const& target);
+  static void Copy (string const &source, string const& target);
   File (string const &path, bool const isASymlink = false, mode_t const 
&protection = mode_t());
   void visit (FileSystemVisitor &);
   Path const &path() const { return path_;}


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

Reply via email to