tags 379478 + fixed-upstream pending
thanks

Jens Seidel <[EMAIL PROTECTED]> writes:

> I get the following error if I try to compile schroot using g++ 4.0.4:
>
> ../../../schroot/schroot-listmounts-main.cc: In member function ‘virtual void 
> schroot_listmounts::main::action_listmounts()’:
> ../../../schroot/schroot-listmounts-main.cc:124: error: no match for 
> ‘operator!=’ in ‘pos != std::vector<_Tp, _Alloc>::rend() [with _Tp = 
> std::basic_string<char, std::char_traits<char>, std::allocator<char> >, 
> _Alloc = std::allocator<std::basic_string<char, std::char_traits<char>, 
> std::allocator<char> > >]()’

> The following patch fixes it:
> -  sbuild::string_list mounts =
> +  const sbuild::string_list mounts =

I have applied the change to SVN to fix this, thanks.  However, this
is a libstdc++ library bug, rather than a bug in schroot: const and
non-const iterators should be comparable.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please sign and encrypt your mail.

Attachment: pgpUsGAfcGz55.pgp
Description: PGP signature

Reply via email to