Boost logo

Boost :

Subject: [boost] [trunk-tests] msvc-8.0 internal compiler error
From: Oliver Kowalke (oliver.kowalke_at_[hidden])
Date: 2012-12-06 02:03:07


Hi,

msvc-8.0 generates an internal compiler error in the regression tests for
boost.coroutine (tests in boost-trunk -
http://www.boost.org/development/tests/trunk/developer/output/VC8%20jc-bell-com-boost-bin-v2-libs-coroutine-test-test_coroutine-test-msvc-8-0-debug-link-static-threading-multi.html
).
Is it possible to prevent this error a code modification?
Other versions like msvc-9.0/10.0/11.0/12.0 do pass the regression test.

Oliver

test_coroutine.cpp
..\boost/mpl/eval_if.hpp(41) : fatal error C1001: An internal error
has occurred in the compiler.
(compiler file 'msc1.cpp', line 1393)
 To work around this problem, try simplifying or changing the program
near the locations listed above.
Please choose the Technical Support command on the Visual C++
 Help menu, or open the Technical Support help file for more information
        ..\boost/foreach.hpp(364) : see reference to class template
instantiation 'boost::mpl::eval_if<C,F1,F2>' being compiled
        with
        [
            C=boost::mpl::false_,
            F1=boost::range_const_iterator<boost::coroutines::coroutine<int
(void)>>,
            F2=boost::range_mutable_iterator<boost::coroutines::coroutine<int
(void)>>
        ]
        ..\libs\coroutine\test\test_coroutine.cpp(415) : see reference
to class template instantiation
'boost::foreach_detail_::foreach_iterator<T,C>' being compiled
        with
        [
            T=coro_int_void,
            C=boost::mpl::false_
        ]
Internal Compiler Error in C:\Program Files (x86)\MSVC8\VC\BIN\cl.exe.
 You will be prompted to send an error report to Microsoft later.


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