I faced this error when I was compiling with clang
. It will be appreciate if any body can help.
Working on 32 bit windows 7 platform and using Codelite to compile the error happend in section below:
typename iterator_traits<_BI1>::difference_type __n;
for (__n = __last - __first; __n > 0; --__n)
*--__result = std::move(*--__last);
return __result;
}
and it is the error message:
c:/MinGW/lib/gcc/mingw32/4.6.1/include/c++\bits/stl_algobase.h:546:18:
error: object of type 'llvm::SourceMgr::SrcBuffer' cannot be assigned
because its copy assignment operator is implicitly deleted
*--__result = std::move(*--__last);