::push_back(const
std::vectorboost::unit_test::test_case_filter::single_filter&) is being
I am using Boost 1.39.0 on sun using sun cc compiler 5.9. I have written a
simple test case which used boost unit test in included manner.
The test file is
#define BOOST_TEST_MAIN
#define BOOST_TEST_MODULE example
#include
BOOST_AUTO_TEST_CASE( test1 )
{
BOOST_CHECK( true );
}
i get this compilation error. I cant figure out what it means. Can someone
please help me in this case
boost_1_39_0/boost/test/impl/unit_test_main.ipp", line 113: Error: Could not
find a match for
std::vectorboost::unit_test::test_case_filter::single_filter::vector(boost::unit_test::basic_string_token_iterator,
boost::unit_test::basic_string_token_iterator) needed in
boost::unit_test::test_case_filter::test_case_filter(boost::unit_test::basic_cstring<const
char>).
"/home/yarora/boost_1_39_0/boost/test/impl/unit_test_main.ipp", line 113:
Error: Formal argument x of type const
std::vectorboost::unit_test::test_case_filter::single_filter& in call to
std::vectorboost::unit_test::test_case_filter::single_filter
passed int.
2 Error(s) detected.
Yogesh