Opened 7 years ago
Last modified 5 years ago
#12104 assigned Bugs
Visual Studio 2015 Update 2 RC gives out warning C4191 in thread_primitive.hpp — at Version 4
Reported by: | Owned by: | viboes | |
---|---|---|---|
Milestone: | To Be Determined | Component: | thread |
Version: | Boost 1.60.0 | Severity: | Problem |
Keywords: | Cc: |
Description (last modified by )
thread/win32/thread_primitives.hpp(312): warning C4191: 'type cast': unsafe conversion from 'boost::detail::win32::farproc_t' to 'boost::detail::win32::detail::gettickcount64_t'
Calling this function through the result pointer may cause your program to fail
Change History (4)
comment:1 by , 7 years ago
comment:2 by , 6 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 6 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
I am able to reproduce this as well, when doing
#include <boost/thread/mutex.hpp>
within a .cpp that uses boost::lock_guard<boost::mutex>
under Visual Studio 2015 Update 2 RTM