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
|
|
@ -631,6 +631,8 @@ BOOST_AUTO_TEST_CASE( demonstrates_adding_a_custom_constraint_with_boost_bind )
|
||||||
//]
|
//]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifndef BOOST_MSVC // this produces an ICE with all versions of MSVC
|
||||||
|
|
||||||
#include <boost/lambda/lambda.hpp>
|
#include <boost/lambda/lambda.hpp>
|
||||||
|
|
||||||
namespace constraints_example_5
|
namespace constraints_example_5
|
||||||
|
|
@ -649,6 +651,8 @@ BOOST_AUTO_TEST_CASE( demonstrates_adding_a_custom_constraint_with_boost_lambda
|
||||||
//]
|
//]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // BOOST_MSVC
|
||||||
|
|
||||||
#include <boost/phoenix/phoenix.hpp>
|
#include <boost/phoenix/phoenix.hpp>
|
||||||
|
|
||||||
namespace constraints_example_6
|
namespace constraints_example_6
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,10 @@
|
||||||
#endif
|
#endif
|
||||||
#include <boost/spirit/home/phoenix.hpp>
|
#include <boost/spirit/home/phoenix.hpp>
|
||||||
#include <boost/spirit/home/phoenix/bind.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/bind.hpp>
|
||||||
#include <boost/lambda/lambda.hpp>
|
#include <boost/lambda/lambda.hpp>
|
||||||
|
#endif
|
||||||
#ifdef BOOST_MSVC
|
#ifdef BOOST_MSVC
|
||||||
#pragma warning( pop )
|
#pragma warning( pop )
|
||||||
#endif
|
#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 ) ) );
|
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_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::bind( &some_function ) ) );
|
||||||
BOOST_CHECK_EQUAL( "?", to_string( boost::lambda::_1 < 42 ) );
|
BOOST_CHECK_EQUAL( "?", to_string( boost::lambda::_1 < 42 ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef MOCK_NULLPTR
|
#ifdef MOCK_NULLPTR
|
||||||
|
|
||||||
BOOST_AUTO_TEST_CASE( nullptr_is_serialized )
|
BOOST_AUTO_TEST_CASE( nullptr_is_serialized )
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue