Boost logo

Boost :

Subject: [boost] compile thread(boost1.55) fail on vc7.1
From: shada (laf163_at_[hidden])
Date: 2013-11-12 02:25:06


*bjam toolset=msvc-7.1 link=static threading=multi runtime-link=static
--with-thread --with-chrono --with-date_time --includedir=hpp stage*>err.txt

Component configuration:

    - atomic : not building
    - chrono : building
    - context : not building
    - coroutine : not building
    - date_time : building
    - exception : not building
    - filesystem : not building
    - graph : not building
    - graph_parallel : not building
    - iostreams : not building
    - locale : not building
    - log : not building
    - math : not building
    - mpi : not building
    - program_options : not building
    - python : not building
    - random : not building
    - regex : not building
    - serialization : not building
    - signals : not building
    - system : not building
    - test : not building
    - thread : building
    - timer : not building
    - wave : not building

...patience...
...patience...
...found 1497 targets...
...updating 6 targets...
compile-c-c++
bin.v2\libs\thread\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi\win32\thread.obj
thread.cpp
boost\functional\hash\hash.hpp(32) : warning C4616: #pragma warning :
¾¯¸æ±àºÅ¡°6295¡±³¬³ö·¶Î§£¬±ØÐëÔÚ¡°4001¡±ºÍ¡°4999¡°Ö®¼ä
boost\thread\future.hpp(1488) : error C2039:
¡°make_future_async_shared_state¡± : ²»ÊÇ¡°boost::detail¡±µÄ³ÉÔ±
        boost\thread\future.hpp(1638) :
²Î¼û¶ÔÕýÔÚ±àÒëµÄÀàÄ£°åʵÀý»¯¡°boost::unique_future<R>¡±µÄÒýÓÃ
boost\thread\future.hpp(1492) : error C2039:
¡°make_future_deferred_shared_state¡± : ²»ÊÇ¡°boost::detail¡±µÄ³ÉÔ±
boost\thread\future.hpp(1683) : error C2039:
¡°make_future_async_shared_state¡± : ²»ÊÇ¡°boost::detail¡±µÄ³ÉÔ±
        boost\thread\future.hpp(1807) :
²Î¼û¶ÔÕýÔÚ±àÒëµÄÀàÄ£°åʵÀý»¯¡°boost::unique_future<boost::unique_future<R2>>¡±µÄÒýÓÃ
boost\thread\future.hpp(1687) : error C2039:
¡°make_future_deferred_shared_state¡± : ²»ÊÇ¡°boost::detail¡±µÄ³ÉÔ±
boost\thread\future.hpp(1490) : error C2951: Ä£°åÉùÃ÷Ö»ÄÜÔÚÈ«¾Ö»òÕßÃüÃû¿Õ¼ä·¶Î§ÄÚʹÓÃ
        boost\thread\future.hpp(3695) :
²Î¼û¶ÔÕýÔÚ±àÒëµÄÀàÄ£°åʵÀý»¯¡°boost::unique_future<R>¡±µÄÒýÓÃ
        with
        [
            R=void
        ]
boost\thread\future.hpp(1497) : error C2955: ¡°boost::unique_future¡± :
ʹÓÃÀàÄ£°åÐèҪģ°å²ÎÊýÁбí
        boost\thread\future.hpp(1638) : ²Î¼û¡°boost::unique_future¡±µÄÉùÃ÷
boost\thread\future.hpp(1497) : error C2955: ¡°boost::unique_future¡± :
ʹÓÃÀàÄ£°åÐèҪģ°å²ÎÊýÁбí
        boost\thread\future.hpp(1638) : ²Î¼û¡°boost::unique_future¡±µÄÉùÃ÷
boost\thread\future.hpp(1497) : error C2146: Óï·¨´íÎó : ȱÉÙ¡°)¡±(ÔÚ±êʶ·û¡°a_future¡±µÄÇ°Ãæ)
boost\thread\future.hpp(1497) : error C2146: Óï·¨´íÎó : ȱÉÙ¡°;¡±(ÔÚ±êʶ·û¡°a_future¡±µÄÇ°Ãæ)
boost\thread\future.hpp(1497) : error C2377:
¡°boost::unique_future<R>::future_ptr¡± : Öض¨Ò壻typedef ²»ÄÜÓÉÈκÎÆäËû·ûºÅÖØÔØ
        with
        [
            R=void
        ]
        boost\thread\future.hpp(1454) :
²Î¼û¡°boost::unique_future<R>::future_ptr¡±µÄÉùÃ÷
        with
        [
            R=void
        ]
boost\thread\future.hpp(1497) : error C2059: Óï·¨´íÎó : ¡°)¡±
boost\thread\future.hpp(1498) : error C2065: ¡°a_future¡± : δÉùÃ÷µÄ±êʶ·û
boost\thread\future.hpp(1499) : fatal error C1903: ÎÞ·¨´ÓÒÔÇ°µÄ´íÎóÖлָ´£»ÕýÔÚÍ£Ö¹±àÒë

    call "C:\Program Files (x86)\Microsoft Visual Studio .NET
2003\vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo
@"bin.v2\libs\thread\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi\win32\thread.obj.rsp"

...failed compile-c-c++
bin.v2\libs\thread\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi\win32\thread.obj...
...skipped
<pbin.v2\libs\thread\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi>libboost_thread-vc71-mt-sgd-1_55.lib
for lack of
<pbin.v2\libs\thread\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi>win32\thread.obj...
...skipped <pstage\lib>libboost_thread-vc71-mt-sgd-1_55.lib for lack of
<pbin.v2\libs\thread\build\msvc-7.1\debug\link-static\runtime-link-static\threading-multi>libboost_thread-vc71-mt-sgd-1_55.lib...
compile-c-c++
bin.v2\libs\thread\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi\win32\thread.obj
thread.cpp
boost\functional\hash\hash.hpp(32) : warning C4616: #pragma warning :
¾¯¸æ±àºÅ¡°6295¡±³¬³ö·¶Î§£¬±ØÐëÔÚ¡°4001¡±ºÍ¡°4999¡°Ö®¼ä
boost\thread\future.hpp(1488) : error C2039:
¡°make_future_async_shared_state¡± : ²»ÊÇ¡°boost::detail¡±µÄ³ÉÔ±
        boost\thread\future.hpp(1638) :
²Î¼û¶ÔÕýÔÚ±àÒëµÄÀàÄ£°åʵÀý»¯¡°boost::unique_future<R>¡±µÄÒýÓÃ
boost\thread\future.hpp(1492) : error C2039:
¡°make_future_deferred_shared_state¡± : ²»ÊÇ¡°boost::detail¡±µÄ³ÉÔ±
boost\thread\future.hpp(1683) : error C2039:
¡°make_future_async_shared_state¡± : ²»ÊÇ¡°boost::detail¡±µÄ³ÉÔ±
        boost\thread\future.hpp(1807) :
²Î¼û¶ÔÕýÔÚ±àÒëµÄÀàÄ£°åʵÀý»¯¡°boost::unique_future<boost::unique_future<R2>>¡±µÄÒýÓÃ
boost\thread\future.hpp(1687) : error C2039:
¡°make_future_deferred_shared_state¡± : ²»ÊÇ¡°boost::detail¡±µÄ³ÉÔ±
boost\thread\future.hpp(1490) : error C2951: Ä£°åÉùÃ÷Ö»ÄÜÔÚÈ«¾Ö»òÕßÃüÃû¿Õ¼ä·¶Î§ÄÚʹÓÃ
        boost\thread\future.hpp(3695) :
²Î¼û¶ÔÕýÔÚ±àÒëµÄÀàÄ£°åʵÀý»¯¡°boost::unique_future<R>¡±µÄÒýÓÃ
        with
        [
            R=void
        ]
boost\thread\future.hpp(1497) : error C2955: ¡°boost::unique_future¡± :
ʹÓÃÀàÄ£°åÐèҪģ°å²ÎÊýÁбí
        boost\thread\future.hpp(1638) : ²Î¼û¡°boost::unique_future¡±µÄÉùÃ÷
boost\thread\future.hpp(1497) : error C2955: ¡°boost::unique_future¡± :
ʹÓÃÀàÄ£°åÐèҪģ°å²ÎÊýÁбí
        boost\thread\future.hpp(1638) : ²Î¼û¡°boost::unique_future¡±µÄÉùÃ÷
boost\thread\future.hpp(1497) : error C2146: Óï·¨´íÎó : ȱÉÙ¡°)¡±(ÔÚ±êʶ·û¡°a_future¡±µÄÇ°Ãæ)
boost\thread\future.hpp(1497) : error C2146: Óï·¨´íÎó : ȱÉÙ¡°;¡±(ÔÚ±êʶ·û¡°a_future¡±µÄÇ°Ãæ)
boost\thread\future.hpp(1497) : error C2377:
¡°boost::unique_future<R>::future_ptr¡± : Öض¨Ò壻typedef ²»ÄÜÓÉÈκÎÆäËû·ûºÅÖØÔØ
        with
        [
            R=void
        ]
        boost\thread\future.hpp(1454) :
²Î¼û¡°boost::unique_future<R>::future_ptr¡±µÄÉùÃ÷
        with
        [
            R=void
        ]
boost\thread\future.hpp(1497) : error C2059: Óï·¨´íÎó : ¡°)¡±
boost\thread\future.hpp(1498) : error C2065: ¡°a_future¡± : δÉùÃ÷µÄ±êʶ·û
boost\thread\future.hpp(1499) : fatal error C1903: ÎÞ·¨´ÓÒÔÇ°µÄ´íÎóÖлָ´£»ÕýÔÚÍ£Ö¹±àÒë

    call "C:\Program Files (x86)\Microsoft Visual Studio .NET
2003\vc7\bin\vcvars32.bat" >nul
cl /Zm800 -nologo
@"bin.v2\libs\thread\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi\win32\thread.obj.rsp"

...failed compile-c-c++
bin.v2\libs\thread\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi\win32\thread.obj...
...skipped
<pbin.v2\libs\thread\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi>libboost_thread-vc71-mt-s-1_55.lib
for lack of
<pbin.v2\libs\thread\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi>win32\thread.obj...
...skipped <pstage\lib>libboost_thread-vc71-mt-s-1_55.lib for lack of
<pbin.v2\libs\thread\build\msvc-7.1\release\link-static\runtime-link-static\threading-multi>libboost_thread-vc71-mt-s-1_55.lib...
...failed updating 2 targets...
...skipped 4 targets...


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