Bug #604
closedCompile Error (WT , BOOST 1.44 , MSVC 2008 ) : error C2491: 'boost::random_device::default_token'
0%
Description
1>random_device.cpp
1>..\..\src\web\random_device.cpp(108) : warning C4273: 'default_token' : inconsistent dll linkage
1> C:\DEV\3rdParty\boost\1_44_0\include\boost/nondet_random.hpp(124) : see previous definition of 'private: static char const * const boost::random_device::default_token'
1>..\..\src\web\random_device.cpp(108) : error C2491: 'boost::random_device::default_token' : definition of dllimport static data member not allowed
1>..\..\src\web\random_device.cpp(146) : warning C4273: 'boost::random_device::random_device' : inconsistent dll linkage
1> C:\DEV\3rdParty\boost\1_44_0\include\boost/nondet_random.hpp(107) : see previous definition of '{ctor}'
1>..\..\src\web\random_device.cpp(152) : warning C4273: 'boost::random_device::~random_device' : inconsistent dll linkage
1> C:\DEV\3rdParty\boost\1_44_0\include\boost/nondet_random.hpp(108) : see previous definition of '{dtor}'
1>..\..\src\web\random_device.cpp(159) : warning C4273: 'boost::random_device::entropy' : inconsistent dll linkage
1> C:\DEV\3rdParty\boost\1_44_0\include\boost/nondet_random.hpp(117) : see previous definition of 'entropy'
1>..\..\src\web\random_device.cpp(164) : warning C4273: 'boost::random_device::operator ()' : inconsistent dll linkage
1> C:\DEV\3rdParty\boost\1_44_0\include\boost/nondet_random.hpp(121) : see previous definition of '()'
Updated by Koen Deforche over 13 years ago
- Status changed from New to InProgress
- Assignee set to Wim Dumon
Updated by Wim Dumon over 13 years ago
What version of Wt is this?
Does a static build work for you?
Wim.
Updated by Wim Dumon over 13 years ago
- Status changed from InProgress to Resolved
A patch is on its way.
This was a problem when building with BOOST_DYNAMIC=ON
Updated by Koen Deforche over 13 years ago
- Status changed from Resolved to Closed
Available in 3.1.7