I am using Boost Ver 1.30 just released. I built the libraries with BJam. Now when building my code I get lots of warnings like the following. These warnings worry me a bit because they are level 1 and 2 warnings. Is it “safe” to ignore these or do I need to manually set some option? I never got these warnings with Boost 1.29.

 

I get lots of warnings like:

C:\boost\boost_1_30_0\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'

        with

        [

            _Ty=boost::thread *,

            _Ax=std::allocator<boost::thread *>

        ]

and

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

 

___________________________________________

 

Andrew J. P. Maclean

 

Centre for Autonomous Systems
The Rose Street Building J04
The University of Sydney  2006  NSW
AUSTRALIA

 

Ph: +61 2 9351 3283

Fax: +61 2 9351 7474

 

URL: http://www.cas.edu.au/

___________________________________________