-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
I tried to compile it in Windows MSVC. But fail. It reports:
1>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xutility(3133)
: error C2679: binary '=' : no operator found which takes a right-hand operand
of type 'const CouchDB::Attachment' (or there is no acceptable conversion)
1>
C:\sxu\work\include\couchDB\couchdb++-0.0.1\include\couchdb/Attachment.hpp(37):
could be 'CouchDB::Attachment &CouchDB::Attachment::operator
=(CouchDB::Attachment &)'
1> while trying to match the argument list '(CouchDB::Attachment, const
CouchDB::Attachment)'
1> C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\include\xutility(3161) : see reference to function template
instantiation 'void std::_Fill<CouchDB::Attachment*,_Ty>(_FwdIt,_FwdIt,const
_Ty &)' being compiled
1> with
1> [
1> _Ty=CouchDB::Attachment,
1> _FwdIt=CouchDB::Attachment *
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\include\vector(1229) : see reference to function template instantiation
'void std::fill<CouchDB::Attachment*,_Ty>(_FwdIt,_FwdIt,const _Ty &)' being
compiled
1> with
1> [
1> _Ty=CouchDB::Attachment,
1> _FwdIt=CouchDB::Attachment *
1> ]
1> C:\Program Files (x86)\Microsoft Visual Studio
9.0\VC\include\vector(1158) : while compiling class template member function
'void
std::vector<_Ty>::_Insert_n(std::_Vector_const_iterator<_Ty,_Alloc>,unsigned
int,const _Ty &)'
1> with
1> [
1> _Ty=CouchDB::Attachment,
1> _Alloc=std::allocator<CouchDB::Attachment>
1> ]
1> ..\include\couchDB\couchdb++-0.0.1\src\Document.cpp(150) : see
reference to class template instantiation 'std::vector<_Ty>' being compiled
1> with
1> [
1> _Ty=CouchDB::Attachment
1> ]
1>Database.cpp
1>..\include\couchDB\couchdb++-0.0.1\src\Database.cpp : error C2471: cannot
update program database 'c:\sxu\work\couchdb\debug\vc90.pdb'
1>C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\include\xdebug(120) :
fatal error C1903: unable to recover from previous error(s); stopping
compilation
1>couchDB.cpp
1>.\couchDB.cpp : error C2471: cannot update program database
'c:\sxu\work\couchdb\debug\vc90.pdb'
1>.\couchDB.cpp(7) : fatal error C1903: unable to recover from previous
error(s); stopping compilation
1>Connection.cpp
1>..\include\couchDB\couchdb++-0.0.1\src\Connection.cpp : error C2471: cannot
update program database 'c:\sxu\work\couchdb\debug\vc90.pdb'
1>C:\Progra
What steps will reproduce the problem?
1. Create a new dll vc project (VS2008)
2. Add boost and libcurl directory to include directions
3. compile
What is the expected output? What do you see instead?
The compile should be ok.
What version of the product are you using? On what operating system?
0.01
Please provide any additional information below.
Original issue reported on code.google.com by shijie.x...@gmail.com on 22 Dec 2013 at 3:27
Reactions are currently unavailable