Boost C++ Libraries: Ticket #881: errors when build with Apache stdcxx https://svn.boost.org/trac10/ticket/881 <pre class="wiki">I have been working on the Apache C++ Standard Library project (STDCXX): http://incubator.apache.org/stdcxx/ I've trying to compile the boost library with stdcxx. The details can be found here: http://mail-archives.apache.org/mod_mbox/incubator-stdcxx-dev/200704.mbox/% 3c7BDB2168BEAEF14C98F1901FD2DE64386573EB@epmsa009.minsk.epam.com%3e Boost version: 1.33.1 STDCXX version: 4.2 I've got the folowing errors in libs/thread/src/once.cpp and boost/thread/recursive_mutex.hpp: D:\_Libs\boost_1_33_1\libs\thread\build\..\src\once.cpp(159) : error C2039: 'hex' : is not a member of 'std' D:\_Libs\boost_1_33_1\libs\thread\build\..\src\once.cpp(159) : error C2065: 'hex' : undeclared identifier CALL "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\vcvars32.BAT" &gt;nul "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\cl" /Zm800 -nologo /EHsc -c -DBOOST_THREAD_LIB_NAME=boost_thread -DBOOST_THREAD_BUILD_LIB=1 -D_RWSTDDEBUG /Z7 /Od /Ob0 /EHsc /GR /MTd /Zc:forScope /Zc:wchar_t -I"bin\boost\libs\thread\build" -I"D:\_Projects\stdcxx_working\include" -I"D:\_Projects\stdcxx_working\include\ansi" -I"D:\_Projects\stdcxx_working\build\msvc-8.0\15s\include" -I"D:\_Libs\boost_1_33_1" -Fo"bin\boost\libs\thread\build\libboost_thread.lib\vc-8_0-stdcxx\debug\runtime-link-static\threading-multi\once.obj" -Tp"D:\_Libs\boost_1_33_1\libs\thread\build\..\src\once.cpp" D:\_Libs\boost_1_33_1\boost/thread/recursive_mutex.hpp(45) : error C2039: 'size_t' : is not a member of 'std' D:\_Libs\boost_1_33_1\boost/thread/recursive_mutex.hpp(92) : error C2039: 'size_t' : is not a member of 'std' D:\_Libs\boost_1_33_1\boost/thread/recursive_mutex.hpp(142) : error C2039: 'size_t' : is not a member of 'std' CALL "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\vcvars32.BAT" &gt;nul "D:\Program Files\Microsoft Visual Studio 8\Common7\Tools\..\..\VC\bin\cl" /Zm800 -nologo /EHsc -c -DBOOST_THREAD_LIB_NAME=boost_thread -DBOOST_THREAD_BUILD_LIB=1 -D_RWSTDDEBUG /Z7 /Od /Ob0 /EHsc /GR /MTd /Zc:forScope /Zc:wchar_t -I"bin\boost\libs\thread\build" -I"D:\_Projects\stdcxx_working\include" -I"D:\_Projects\stdcxx_working\include\ansi" -I"D:\_Projects\stdcxx_working\build\msvc-8.0\15s\include" -I"D:\_Libs\boost_1_33_1" -Fo"bin\boost\libs\thread\build\libboost_thread.lib\vc-8_0-stdcxx\debug\runtime-link-static\threading-multi\recursive_mutex.obj" -Tp"D:\_Libs\boost_1_33_1\libs\thread\build\..\src\recursive_mutex.cpp" I propose to #include &lt;ios&gt; in once.cpp to define std::hex() and #include &lt;cstddef&gt; in recursive_mutex.hpp to define std::size_t. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/881 Trac 1.4.3 Anthony Williams Fri, 11 May 2007 10:13:52 GMT owner, status changed https://svn.boost.org/trac10/ticket/881#comment:1 https://svn.boost.org/trac10/ticket/881#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">glassfordm</span> to <span class="trac-author">Anthony Williams</span> </li> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">new</span> </li> </ul> Ticket Anthony Williams Fri, 11 May 2007 10:13:57 GMT status changed https://svn.boost.org/trac10/ticket/881#comment:2 https://svn.boost.org/trac10/ticket/881#comment:2 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> </ul> Ticket farid_zaripov Tue, 05 Jun 2007 17:06:32 GMT <link>https://svn.boost.org/trac10/ticket/881#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/881#comment:3</guid> <description> <p> The cross-reference link to the Apache STDCXX issue tracker: <a class="ext-link" href="http://issues.apache.org/jira/browse/STDCXX-430"><span class="icon">​</span>http://issues.apache.org/jira/browse/STDCXX-430</a> </p> </description> <category>Ticket</category> </item> <item> <author>farid_zaripov <faridz@…></author> <pubDate>Tue, 19 Jun 2007 17:41:36 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/881#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/881#comment:4</guid> <description> <p> May I hope that the changes will appear in 1.34.1? </p> </description> <category>Ticket</category> </item> <item> <author>faridz@…</author> <pubDate>Sat, 29 Dec 2007 00:03:49 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/881#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/881#comment:5</guid> <description> <p> It seems that the described errors are not reproduced in trunk, so I think that this ticket can be closed. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Anthony Williams</dc:creator> <pubDate>Mon, 26 May 2008 07:41:57 GMT</pubDate> <title>status, resolution changed; severity set https://svn.boost.org/trac10/ticket/881#comment:6 https://svn.boost.org/trac10/ticket/881#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> <li><strong>severity</strong> → <span class="trac-field-new">Showstopper</span> </li> </ul> <p> V 1.35.0 and later of boost.thread does not suffer from this problem </p> Ticket