[Asio] Compilation errors after switching to 1.55 b1

I am getting very weird error after moving from 1.54 to 1.55b1: 2>C:\devel\boost_1_55_0b1\boost/asio/detail/impl/socket_ops.ipp(2224): error C2653: 'Windows' : is not a class or namespace name (..\..\lib\hexine.cpp) and many more in that file, then: 2>C:\devel\boost_1_55_0b1\boost/asio/detail/buffer_sequence_adapter.hpp(36): error C2653: 'Windows' : is not a class or namespace name (..\..\lib\hexine.cpp) Than, many errors later: 2>C:\devel\boost_1_55_0b1\boost/asio/detail/winrt_async_manager.hpp(62): error C2039: 'IAsyncAction' : is not a member of 'Windows::Foundation' (..\..\lib\hexine.cpp) This looks like C++/CLI implementation. I assume this is related to "Implemented a limited port to Windows Runtime. This support requires that the language extensions be enabled." Does it mean that switch from 1.54 to 1.55 requires changes in project settings? Visual Studio 2012 Update 3, Windows 7 Regards, Szymon Gatner

This looks like C++/CLI implementation. I assume this is related to "Implemented a limited port to Windows Runtime. This support requires
Szymon Gatner
Correct. The Windows RT target detection was incorrect (if I recall correctly, Windows SDK 8 was always detected as targeting Windws RT), this was already fixed on trunk and release and should be included in 1.55 RC.
participants (2)
-
Marcel Raad
-
Szymon Gatner