monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] msvc


From: Zbynek Winkler
Subject: [Monotone-devel] msvc
Date: Sun, 18 Jan 2004 14:45:30 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6b) Gecko/20031208

I give up. While compiling diff_patch.cc I get this error

C:\PROGRA~1\MICROS~2\VC98\INCLUDE\map(94) : error C2440: 'return' : cannot convert from 'class file<class hexenc<class id> >' to 'struct std::pair<class file_path const ,class file<class hexenc<class id> > > &'
       A reference that is not to 'const' cannot be bound to a non-lvalue
C:\PROGRA~1\MICROS~2\VC98\INCLUDE\map(93) : while compiling class-template member function 'struct std::pair<class file_path const ,class file<class hexenc<class id> > > &__thiscall std::map<class file_path,class file<class hexenc<class id> >,struct std::less<class file_path>,class std::allocator<struct std::pair<class file_path const ,class file<class hexenc<class id> > > > >::operator [](const class file_path &)'

that leaves no hint as to where the problem might be. Since maps are used all over the place I do not know how to track it down :-(

Zbynek

--
http://zw.matfyz.cz/     http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic





reply via email to

[Prev in Thread] Current Thread [Next in Thread]