Please state somewhere in the docs, that if one disables MS language extensions (to make a program as portable as possible) he/she will get no threading support. It takes some time to go through the boost include files and find in visualc.hpp the following lines of code: // // disable Win32 API's if compiler extentions are // turned off: // #ifndef _MSC_EXTENSIONS # define BOOST_DISABLE_WIN32 #endif Which is responsible in some other file for disabling of boost::threads. With Kind Regards, Ovanes On Thu, October 26, 2006 17:30, Ovanes Markarian wrote:
I have a problem, with the following error message. Unfortunately documentation does not state what can be the reason that threads are not included. I did not define the BOOST_DISABLE_THREADS macro.
But still receive an error message:
Compiling... main.cc c:\boost\include\boost-1_33_1\boost\config\requires_threads.hpp(29) : fatal error C1189: #error : "Threading support unavaliable: it has been explicitly disabled with BOOST_DISABLE_THREADS"
My assumption is that I configured console project. These are my project preprocessor definitions: _CONSOLE;_SCL_SECURE_NO_WARNINGS;
Can someone advise?
With Kind Regards,
Ovanes Markarian _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users