Re: [Boost-bugs] [Boost C++ Libraries] #8817: Boost Thread Windows CE _createthreadex handling breaks mingw w64

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8817: Boost Thread Windows CE _createthreadex handling breaks mingw w64
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-07-13 18:53:34


#8817: Boost Thread Windows CE _createthreadex handling breaks mingw w64
------------------------------------------+----------------------
  Reporter: Andrew Ho <helloworld922@…> | Owner: anthonyw
      Type: Bugs | Status: new
 Milestone: To Be Determined | Component: thread
   Version: Boost Development Trunk | Severity: Problem
Resolution: | Keywords:
------------------------------------------+----------------------

Comment (by Andrew Ho <helloworld922@…>):

 After digging through the Boost configs, it seems that these defines are
 part of visualc.hpp:


 {{{
 #if defined(_WIN32_WCE) || defined(UNDER_CE)
 // Windows CE does not have a conforming signature for swprintf
 # define BOOST_NO_SWPRINTF
 #endif

 // we have ThreadEx or GetSystemTimeAsFileTime unless we're running
 WindowsCE
 #if !defined(_WIN32_WCE) && !defined(UNDER_CE)
 # define BOOST_HAS_THREADEX
 # define BOOST_HAS_GETSYSTEMTIMEASFILETIME
 #endif
 }}}

 This probably should be included in win32.hpp, or perhaps in a new
 platform config file wince.hpp.

 Perhaps this is a better option? I still think the changed no
 _beginthreadex may work betterh, though, as we probably shouldn't be
 typdef'ing uintptr_t anyways.

 Added an updated patch which fixes both win32/thread.hpp as well as the
 threadex wince platform config.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8817#comment:1>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:13 UTC