Was trying to compile pantheios with MSVC10, on the latest alpha STLSOFT (1.10.1 alpha 15) & pantheios 1.0.1 beta 205
Compiling with exceptions off, the code in the the ifdefs being compiled are generating warnings and breaking the build (warnings as errors). The fix exist in the other ifdef code paths just not all of them.
C:\Home\Projects\external\STLSoft\include\winstl/system/system_traits.hpp(752) : error C2220: warning treated as error - no 'object' file generated
C:\Home\Projects\external\STLSoft\include\winstl/system/system_traits.hpp(752) : warning C4267: 'argument' : conversion from 'size_t' to 'UINT', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/system/system_traits.hpp(767) : warning C4267: 'argument' : conversion from 'size_t' to 'UINT', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/system/system_traits.hpp(782) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/system/system_traits.hpp(797) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/system/system_traits.hpp(1196) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/system/system_traits.hpp(1211) : warning C4267: 'argument' : conversion from 'size_t' to 'UINT', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/system/system_traits.hpp(1226) : warning C4267: 'argument' : conversion from 'size_t' to 'UINT', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/system/system_traits.hpp(1241) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/system/system_traits.hpp(1256) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\BIN\x86_amd64\cl.EXE"' : return code '0x2'
For most of these API calls they lack a static_cast<DWORD>(cchBuffer);
A similar problem exists in winstl filesystem_traits.hpp
C:\Home\Projects\external\STLSoft\include\winstl/filesystem/filesystem_traits.hpp(1312) : error C2220: warning treated as error - no 'object' file generated
C:\Home\Projects\external\STLSoft\include\winstl/filesystem/filesystem_traits.hpp(1312) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/filesystem/filesystem_traits.hpp(1348) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/filesystem/filesystem_traits.hpp(1363) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/filesystem/filesystem_traits.hpp(1377) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/filesystem/filesystem_traits.hpp(1392) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/filesystem/filesystem_traits.hpp(1928) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/filesystem/filesystem_traits.hpp(1943) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/filesystem/filesystem_traits.hpp(1958) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/filesystem/filesystem_traits.hpp(1972) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data
C:\Home\Projects\external\STLSoft\include\winstl/filesystem/filesystem_traits.hpp(1987) : warning C4267: 'argument' : conversion from 'size_t' to 'DWORD', possible loss of data