[Containter] Compilation errors with 1.55 and VC2013
Hi,
I am getting compilation errors with Container library after trying to
build with Visual Studio 2013 and Boost 1.55 RC:
Error 1 error C2228: left of '.select_on_container_copy_construction' must
have class/struct/union
c:\devel\boost_1_55_0\boost\intrusive\detail\has_member_function_callable_with.hpp
200 1 ConsoleApplication2
Minimalistic example to reproduce:
#include
Hi,
just checked and error still exist in RC2
2013/11/3 Szymon Gatner
Hi,
I am getting compilation errors with Container library after trying to build with Visual Studio 2013 and Boost 1.55 RC:
Error 1 error C2228: left of '.select_on_container_copy_construction' must have class/struct/union c:\devel\boost_1_55_0\boost\intrusive\detail\has_member_function_callable_with.hpp 200 1 ConsoleApplication2
Minimalistic example to reproduce:
#include
#include #include int main() { typedef boost::signals2::connection Connection; boost::container::vector<Connection> connections_; }
Error happens wheter vector or slist is used (didn't try more containers)
Regards, Szymon Gatner
El 03/11/2013 21:54, Szymon Gatner escribió:
Error happens wheter vector or slist is used (didn't try more containers)
Thanks for the report. Visual 2013 is not yet supported in this release but it's planned. Right now container library is being updated to a new features so I plan to test VC 2013 support in a few weeks. best, Ion
On Nov 3, 2013, at 12:54 PM, Szymon Gatner
Hi,
I am getting compilation errors with Container library after trying to build with Visual Studio 2013 and Boost 1.55 RC:
Error 1 error C2228: left of '.select_on_container_copy_construction' must have class/struct/union c:\devel\boost_1_55_0\boost\intrusive\detail\has_member_function_callable_with.hpp 200 1 ConsoleApplication2
Minimalistic example to reproduce:
#include
#include #include int main() { typedef boost::signals2::connection Connection; boost::container::vector<Connection> connections_; }
Error happens wheter vector or slist is used (didn't try more containers)
I just tried this using gcc and clang, and got no error, so this sounds like a VS 2013-only problem. Thanks for the report. -- Marshall Marshall Clow Idio Software mailto:mclow.lists@gmail.com A.D. 1517: Martin Luther nails his 95 Theses to the church door and is promptly moderated down to (-1, Flamebait). -- Yu Suzuki
participants (3)
-
Ion Gaztañaga
-
Marshall Clow
-
Szymon Gatner