Boost C++ Libraries: Ticket #12583: Reference to GetModuleHandleW when building for windows-api=store https://svn.boost.org/trac10/ticket/12583 <p> Line 63 in boost/thread/win32/thread_primitives.hpp references GetModuleHandleW, which is not available under the Windows Store API. However, when building boost for our Store app, this line was not among the ones #ifdefed away, and thus caused a compile error. We trivially fixed it by commenting it out, but that is obviously not a portable solution. </p> <p> Here's the build command we used: </p> <p> b2 -j8 toolset=msvc windows-api=store threading=multi address-model=64 architecture=x86 --with-thread --with-chrono --with-date_time cxxflags="/AI\"C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/lib/store/refererences\"" define=BOOST_THREAD_VERSION=4 define=BOOST_THREAD_PROVIDES_EXECUTORS stage </p> <p> Perhaps this is not actually an issue, and we just did something wrong, but I figured I'd report it to make sure. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12583 Trac 1.4.3 viboes Fri, 30 Dec 2016 01:36:24 GMT <link>https://svn.boost.org/trac10/ticket/12583#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12583#comment:1</guid> <description> <p> I don't know what windows-api=store means. Any patch that make it work for this target is welcome as soon as the patch is done conditionally to this target. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>viboes</dc:creator> <pubDate>Fri, 30 Dec 2016 01:36:31 GMT</pubDate> <title>owner changed https://svn.boost.org/trac10/ticket/12583#comment:2 https://svn.boost.org/trac10/ticket/12583#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Anthony Williams</span> to <span class="trac-author">viboes</span> </li> </ul> Ticket viboes Sun, 29 Jan 2017 16:17:57 GMT type changed https://svn.boost.org/trac10/ticket/12583#comment:3 https://svn.boost.org/trac10/ticket/12583#comment:3 <ul> <li><strong>type</strong> <span class="trac-field-old">Bugs</span> → <span class="trac-field-new">Support Requests</span> </li> </ul> <p> Moved to support request until more information provided. </p> Ticket viboes Tue, 14 Nov 2017 20:51:11 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12583#comment:4 https://svn.boost.org/trac10/ticket/12583#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">obsolete</span> </li> </ul> <p> Closed as there is no follow up. </p> Ticket