eg-be / exodbc

exOdbc - open source C++ ODBC library
0 stars 0 forks source link

Building with boost 1.77.x fails #8

Closed eg-be closed 2 years ago

eg-be commented 2 years ago

Seems something with boost changed in the last four years, building fails with:


1>  ColumnBuffer.cpp
1>  D:\Dev\exodbc\include\exodbc\ColumnBuffer.h(304,156): error C2065: '_1': undeclared identifier
1>  D:\Dev\exodbc\include\exodbc\ColumnBuffer.h(304,1): error C2665: 'std::pair<boost::signals2::connection,exodbc::ConstSqlStmtHandlePtr>::pair': none of the 2 overloads could convert all the argument types
1>  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\utility(213,5): message : could be 'std::pair<boost::signals2::connection,exodbc::ConstSqlStmtHandlePtr>::pair(std::pair<boost::signals2::connection,exodbc::ConstSqlStmtHandlePtr> &&)'
1>  C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\utility(212,5): message : or       'std::pair<boost::signals2::connection,exodbc::ConstSqlStmtHandlePtr>::pair(const std::pair<boost::signals2::connection,exodbc::ConstSqlStmtHandlePtr> &)'
1>  D:\Dev\exodbc\include\exodbc\ColumnBuffer.h(304,1): message : while trying to match the argument list '(exodbc::ConstSqlStmtHandlePtr)'
1>  D:\Dev\exodbc\include\exodbc\ColumnBuffer.h(330,152): error C2065: '_1': undeclared identifier

Anyway, why do we have all those signals in there?