Boost logo

Boost :

From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2007-10-14 02:24:06


Hi,

I am buiulding trunk vertion of Boost.Test with msvc 8.0 and see following
warning:

..\..\..\boost/utility/value_init.hpp(73) : warning C4345: behavior change:
an object of POD type constructed with an initializer of the form () will be
default-initialized
        ..\..\..\boost/utility/value_init.hpp(70) : while compiling class
template member function
'boost::vinit_detail::non_const_T_base<T>::non_const_T_base(void)'
        with
        [
            T=arg
        ]
        ..\..\..\boost/utility/value_init.hpp(139) : see reference to class
template instantiation 'boost::vinit_detail::non_const_T_base<T>' being
compiled
        with
        [
            T=arg
        ]
        ..\..\..\boost/mpl/for_each.hpp(72) : see reference to class
template instantiation 'boost::value_initialized<T>' being compiled
        with
        [
            T=arg
        ]
        ..\..\..\boost/mpl/for_each.hpp(97) : see reference to function
template instantiation 'void
boost::mpl::aux::for_each_impl<false>::execute<first,last,TransformOp,F>(Iterator
*,LastIterator *,TransformFunc *,F)' being compiled
        with
        [
            TransformOp=boost::mpl::make_identity<boost::mpl::_>,
            F=boost::unit_test::ut_detail::generate_test_case_4_type<boost::unit_test::ut_detail::template_test_case_gen<free_test_function,numbers>,free_test_function>,
            Iterator=first,
            LastIterator=last,
            TransformFunc=boost::mpl::make_identity<boost::mpl::_>
        ]
        ..\..\..\boost/test/test_case_template.hpp(123) : see reference to
function template instantiation 'void
boost::mpl::for_each<TestTypesList,boost::mpl::make_identity<T>,boost::unit_test::ut_detail::generate_test_case_4_type<Generator,TestCaseTemplate>>(F,Sequence
*,TransformOp *)' being compiled
        with
        [
            TestTypesList=numbers,
            T=boost::mpl::_,
            Generator=boost::unit_test::ut_detail::template_test_case_gen<free_test_function,numbers>,
            TestCaseTemplate=free_test_function,
            F=boost::unit_test::ut_detail::generate_test_case_4_type<boost::unit_test::ut_detail::template_test_case_gen<free_test_function,numbers>,free_test_function>,
            Sequence=numbers,
            TransformOp=boost::mpl::make_identity<boost::mpl::_>
        ]
        ..\..\..\boost/test/test_case_template.hpp(118) : while compiling
class template member function
'boost::unit_test::ut_detail::template_test_case_gen<TestCaseTemplate,TestTypesList>::template_test_case_gen(boost::unit_test::const_string)'
        with
        [
            TestCaseTemplate=free_test_function,
            TestTypesList=numbers
        ]
        test_case_template_example.cpp(27) : see reference to class template
instantiation
'boost::unit_test::ut_detail::template_test_case_gen<TestCaseTemplate,TestTypesList>'
being compiled
        with
        [
            TestCaseTemplate=free_test_function,
            TestTypesList=numbers
        ]

Can we do something about it?

Gennadiy


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