Package: vbs
Version: 1.4.0-5
Severity: normal
Tags: patch
When building 'vbs' on amd64/unstable with gcc-4.0,
I get the following error:
src/common/st_func.cc: In member function 'void st_function::assignment(const
bit_vector&, long int, long int, long int, long int)':
src/common/bvector.h:440: error:
'bit_vector::const_sub_bit_vector::const_sub_bit_vector(const
bit_vector::const_sub_bit_vector&)' is private
src/common/st_func.cc:40: error: within this context
src/common/bvector.h:440: error:
'bit_vector::const_sub_bit_vector::const_sub_bit_vector(const
bit_vector::const_sub_bit_vector&)' is private
src/common/st_func.cc:47: error: within this context
make[1]: *** [st_func.o] Error 1
make[1]: Leaving directory `/vbs-1.4.0'
make: *** [build-stamp] Error 2
With the attached patch 'vbs' can be compiled
on amd64 using gcc-4.0.
Regards
Andreas Jochens
diff -urN ../tmp-orig/vbs-1.4.0/src/common/bvector.h ./src/common/bvector.h
--- ../tmp-orig/vbs-1.4.0/src/common/bvector.h 2003-01-12 05:40:59.000000000
+0100
+++ ./src/common/bvector.h 2005-04-01 13:42:55.441930488 +0200
@@ -90,9 +90,9 @@
size_type _size; // Size of this sub-bit vector.
// Only bit_vector can create a sub_bit_vector object.
+ public:
sub_bit_vector(bit_vector &, const position_type, const
position_type);
sub_bit_vector(const sub_bit_vector &);
- public:
sub_bit_vector &operator=(const sub_bit_vector &);
sub_bit_vector &operator=(const const_sub_bit_vector &);
sub_bit_vector &operator=(const bit_vector &);
@@ -116,8 +116,8 @@
// Only bit_vector can create a sub_bit_vector object.
const_sub_bit_vector(const bit_vector &, const position_type,
const position_type);
- const_sub_bit_vector(const const_sub_bit_vector &);
public:
+ const_sub_bit_vector(const const_sub_bit_vector &);
size_type size() const
{ return _size; }
ostream_type &info(ostream_type &) const;
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]