Boost logo

Boost :

From: Nicolas LELONG / mgdesign (nico_ml_at_[hidden])
Date: 2004-03-17 11:58:47


Hi,

I'm currently starting to give a try to boost.thread lib.

I've been successfully compiling boost.thread library (from boost 1.31.0) as
a DLL with VC71, and I also compile the alarm example which seems to work
fine, although I get a few warnings during the compilation (listed below).

Do these warnings have been fixed since 1.31.0 ? Would they prevent any
"real" app from working ?

Thanks in advance,

Nicolas

----
Note: including file:
d:\Projets\Muybridge\src2\muybridge\boost\boost/version.hpp
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\exceptions.hpp(29) :
warning C4275: non dll-interface class 'std::logic_error' used as base for
dll-interface class 'boost::lock_error'
c:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\include\stdexcept(14)
: see declaration of 'std::logic_error'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\exceptions.hpp(28) :
see declaration of 'boost::lock_error'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\exceptions.hpp(35) :
warning C4275: non dll-interface class 'std::runtime_error' used as base for
dll-interface class 'boost::thread_resource_error'
c:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\stdexcept(136) : see declaration of 'std::runtime_error'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\exceptions.hpp(34) :
see declaration of 'boost::thread_resource_error'
Note: including file:
d:\Projets\Muybridge\src2\muybridge\boost\boost/thread/detail/config.hpp
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\mutex.hpp(36) :
warning C4275: non dll-interface class 'boost::noncopyable' used as base for
dll-interface class 'boost::mutex'
d:\Projets\Muybridge\src2\muybridge\boost\boost\noncopyable.hpp(22) : see
declaration of 'boost::noncopyable'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\mutex.hpp(35) : see
declaration of 'boost::mutex'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\mutex.hpp(74) :
warning C4275: non dll-interface class 'boost::noncopyable' used as base for
dll-interface class 'boost::try_mutex'
d:\Projets\Muybridge\src2\muybridge\boost\boost\noncopyable.hpp(22) : see
declaration of 'boost::noncopyable'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\mutex.hpp(73) : see
declaration of 'boost::try_mutex'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\mutex.hpp(114) :
warning C4275: non dll-interface class 'boost::noncopyable' used as base for
dll-interface class 'boost::timed_mutex'
d:\Projets\Muybridge\src2\muybridge\boost\boost\noncopyable.hpp(22) : see
declaration of 'boost::noncopyable'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\mutex.hpp(113) : see
declaration of 'boost::timed_mutex'
Note: including file:
d:\Projets\Muybridge\src2\muybridge\boost\boost/thread/detail/config.hpp
Note: including file: C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\list
Note: including file: C:\Program Files\Microsoft Visual Studio .NET
2003\Vc7\include\functional
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\thread.hpp(38) :
warning C4275: non dll-interface class 'boost::noncopyable' used as base for
dll-interface class 'boost::thread'
d:\Projets\Muybridge\src2\muybridge\boost\boost\noncopyable.hpp(22) : see
declaration of 'boost::noncopyable'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\thread.hpp(37) : see
declaration of 'boost::thread'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\thread.hpp(67) :
warning C4275: non dll-interface class 'boost::noncopyable' used as base for
dll-interface class 'boost::thread_group'
d:\Projets\Muybridge\src2\muybridge\boost\boost\noncopyable.hpp(22) : see
declaration of 'boost::noncopyable'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\thread.hpp(66) : see
declaration of 'boost::thread_group'
d:\Projets\Muybridge\src2\muybridge\boost\boost\thread\thread.hpp(78) :
warning C4251: 'boost::thread_group::m_threads' : class 'std::list<_Ty>'
needs to have dll-interface to be used by clients of class
'boost::thread_group'
with
[
_Ty=boost::thread *
]
---

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