From: Adrian Michel (michel_at_[hidden])
Date: 2003-06-12 10:40:31
I am using MSVC 6, but I run into the same problem. Changing the project
settings to use the MFC dll cleared the warnings.
Moreover, I tried to run my project with no MFC support and I got this
: fatal error C1189: #error : Thread support is unavailable!
I did look deeper into the problem, but there seems to be some hidden MFC
dependency in the thread libraries.
> -----Original Message-----
> From: boost-bounces_at_[hidden]
> [mailto:boost-bounces_at_[hidden]]On Behalf Of William E. Kempf
> Sent: Thursday, June 12, 2003 8:30 AM
> To: boost_at_[hidden]
> Subject: RE: [boost] Threads and msvc 7
> Adrian Michel said:
> >> 2/ The use of DLL-exported classes that derive from or uses as member
> >> variables non-DLL-exported classes is generating some warnings by msvc
> >> that fall into two categories (4275 and 4251). Would it be possible to
> >> insert #pragma to remove these spurious warnings ?
> > These warnings are generated because your project is set to link with
> > the static version of the MFC library, while the boost libraries link
> > with the MFC dll. Change the settings in your project and they will
> > disappear.
> No MFC library is used by Boost.Threads. The warnings are known and will
> be fixed soon. Ignore them for now.
> William E. Kempf
> Unsubscribe & other changes: