Boost C++ Libraries: Ticket #91: boost::threads uses msvc only function? https://svn.boost.org/trac10/ticket/91 <pre class="wiki">Hi, I tried compiling boost::thread with cgywin and mingw, and hit the following problem: g++ -Wall -I.. -I../include -DBOOST_HAS_WINTHREADS -I/usr/include/mingw -c thread/thread.cpp -o thread/thread.o thread/thread.cpp: In method `boost::thread::thread(const boost::function0&lt;void,boost::empty_function_policy,boost::empty_function_mixin,allocator&lt;boost::function_base&gt; &gt; &amp;)': thread/thread.cpp:107: implicit declaration of function `int boost::_beginthreadex(...)' after looking at some comments in the header files it seems that this function is only provided by msvcrt.dll which is != standard win API. Would it be possible to change the usage here? Or did I miss something? Greetings, Matze </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/91 Trac 1.4.3 Anthony Williams Mon, 03 Apr 2006 14:52:38 GMT <link>https://svn.boost.org/trac10/ticket/91#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/91#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=60756 _beginthreadex is indeed part of msvcrt.dll, however msvcrt.dll is a standard part of newer versions of Windows (Windows 98 onwards, I believe), and a free download for older versions. In the latest version of the w32api headers for mingw, you will find _beginthreadex declared in process.h. This function is guarded by #ifdef __MSVCRT__, but that symbol is defined by default in mingw, so _beginthreadex should be available. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>Roland Schwarz</dc:creator> <pubDate>Tue, 04 Apr 2006 15:32:13 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/91#comment:2 https://svn.boost.org/trac10/ticket/91#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket