mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Deactivated ICE producing code
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@747 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
e4c2468381
commit
897c0bdac3
2 changed files with 10 additions and 0 deletions
|
|
@ -17,8 +17,10 @@
|
|||
#endif
|
||||
#include <boost/spirit/home/phoenix.hpp>
|
||||
#include <boost/spirit/home/phoenix/bind.hpp>
|
||||
#ifndef BOOST_MSVC // this produces an ICE with all versions of MSVC
|
||||
#include <boost/lambda/bind.hpp>
|
||||
#include <boost/lambda/lambda.hpp>
|
||||
#endif
|
||||
#ifdef BOOST_MSVC
|
||||
#pragma warning( pop )
|
||||
#endif
|
||||
|
|
@ -647,12 +649,16 @@ BOOST_AUTO_TEST_CASE( boost_bind_functor_yields_question_mark_when_serialized )
|
|||
BOOST_CHECK_EQUAL( "?", to_string( boost::bind( &some_function ) ) );
|
||||
}
|
||||
|
||||
#ifndef BOOST_MSVC // this produces an ICE with all versions of MSVC
|
||||
|
||||
BOOST_AUTO_TEST_CASE( boost_lambda_functor_yields_question_mark_when_serialized )
|
||||
{
|
||||
BOOST_CHECK_EQUAL( "?", to_string( boost::lambda::bind( &some_function ) ) );
|
||||
BOOST_CHECK_EQUAL( "?", to_string( boost::lambda::_1 < 42 ) );
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef MOCK_NULLPTR
|
||||
|
||||
BOOST_AUTO_TEST_CASE( nullptr_is_serialized )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue