Boost logo

Boost :

From: Michel André (michel.andre_at_[hidden])
Date: 2003-04-03 02:16:44


I get the following warning when building and using a thread_group in MSVC
70 with boost 1.30

...\boost\boost\thread\thread.hpp(79) : warning C4251:
'boost::thread_group::m_threads' : class 'std::list<_Ty,_Ax>' needs to have
dll-interface to be used by clients of class 'boost::thread_group'

My guess is that is related to the warning

thread\exceptions.hpp(29) : warning C4275: non dll-interface class
'std::logic_error' used as base for dll-interface class 'boost::lock_error'

discussed before. And that it's ok as long as you are consistent with the
usage of C runtime an STL versions across dlls and executables?

/Michel


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk