Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2007-04-03 15:44:42


Bugs item #1693862, was opened at 2007-04-03 22:44
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1693862&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: threads
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Farid (farid_zaripov)
Assigned to: Mike Glassford (glassfordm)
Summary: errors when build with Apache stdcxx

Initial Comment:
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_at_[hidden]%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" >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" >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 <ios> in once.cpp to define std::hex() and #include <cstddef> in recursive_mutex.hpp to define std::size_t.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1693862&group_id=7586

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk