Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests from boost libraries failed to run after boost submodule log updated from b22211 to 1138b4 #72

Closed
spacelg opened this issue Jan 16, 2019 · 1 comment

Comments

@spacelg
Copy link

spacelg commented Jan 16, 2019

Environment:
VS 2017 + Windows Server 2016

Issue description:
We build and run test for boost and we found one tests failed to run after boost submodule log updated from b22211 to 1138b4 boostorg/log@e575e40
Could you please take a look?

Reproduce steps:

  1. git clone -c core.autocrlf=true --recursive ​https://github.com/boostorg/boost.git D:\Boost\src
  2. open a VS 2017 x86 command prompt and browse to D:\Boost\src
  3. .\bootstrap
  4. .\b2 headers variant=release --build-dir=..\out\Release --address-model=32
  5. .\b2 variant=release --build-dir=..\out\Release --address-model=32
  6. .\b2 -j4 variant=release --build-dir=..\out\x86rel libs\log\test

log_x86_test_60.log

ErrorMessage:
..\out\x86rel\boost\bin.v2\libs\log\example\basic_usage\msvc-14.1\release\threadapi-win32\threading-multi\main.obj
main.cpp
.\boost/parameter/aux_/unwrap_cv_reference.hpp(34): error C2528: 'abstract declarator': pointer to reference is illegal
.\boost/mpl/if.hpp(63): note: see reference to class template instantiation 'boost::parameter::aux::is_cv_reference_wrapper' being compiled
with
[
T=const char (&)[11]
]
.\boost/mpl/eval_if.hpp(40): note: see reference to class template instantiation 'boost::mpl::if_<C,F1,F2>' being compiled
with
[
C=boost::parameter::aux::is_cv_reference_wrapper<const char (&)[11]>,
F1=boost::parameter::aux::get_type<const char (&)[11]>,
F2=boost::mpl::identity<const char (&)[11]>
]
.\boost/parameter/aux_/unwrap_cv_reference.hpp(84): note: see reference to class template instantiation 'boost::mpl::eval_if<boost::parameter::aux::is_cv_reference_wrapper,boost::parameter::aux::get_type,boost::mpl::identity>' being compiled
with
[
T=const char (&)[11]
]
.\boost/parameter/aux_/tag.hpp(21): note: see reference to class template instantiation 'boost::parameter::aux::unwrap_cv_reference' being compiled
with
[
ActualArg=const char (&)[11]
]
.\boost/log/utility/setup/file.hpp(127): note: see reference to class template instantiation 'boost::parameter::aux::tag<boost::log::v2_mt_nt6::keywords::tag::file_name,const char (&)[11]>' being compiled
.\boost/log/utility/setup/file.hpp(107): note: see reference to function template instantiation 'parameter::aux::tag<boost::log::v2_mt_nt6::keywords::tag::file_name,const T&>::type boost::log::v2_mt_nt6::aux::wrap_file_name(const T &,boost::mpl::false_)' being compiled
libs\log\example\basic_usage\main.cpp(103): note: see reference to function template instantiation 'boost::shared_ptr<boost::log::v2_mt_nt6::sinks::synchronous_sinkboost::log::v2_mt_nt6::sinks::text_file_backend> boost::log::v2_mt_nt6::add_file_log<char[11],boost::parameter::aux::tagged_argument<Keyword,const boost::phoenix::actor>,boost::parameter::aux::tagged_argument<boost::log::v2_mt_nt6::keywords::tag::format,const boost::phoenix::actor<boost::proto::exprns_::basic_expr<Tag,Args,2>>>>(const T0 (&),const T1 &,const T2 &)' being compiled
with
[
Keyword=boost::log::v2_mt_nt6::keywords::tag::filter,
Expr=boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::greater_equal,boost::proto::argsns_::list2<boost::log::v2_mt_nt6::expressions::attribute_actor<severity_level,boost::log::v2_mt_nt6::fallback_to_none,void,boost::phoenix::actor>,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<severity_level>,0>>>,2>,
Tag=boost::proto::tagns_::tag::shift_left,
Args=boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt6::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt6::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt6::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt6::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<boost::phoenix::argument<2>>,0>>,boost::posix_time::ptime,boost::log::v2_mt_nt6::fallback_to_none,boost::log::v2_mt_nt6::aux::light_function<void (boost::log::v2_mt_nt6::basic_formatting_ostream<char,std::char_traits,std::allocator> &,const boost::posix_time::ptime &)>>>,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char [3]>,0>>>,2>>,boost::log::v2_mt_nt6::attributes::timer::value_type,boost::log::v2_mt_nt6::fallback_to_none,boost::log::v2_mt_nt6::aux::light_function<void (boost::log::v2_mt_nt6::basic_formatting_ostream<char,std::char_traits,std::allocator> &,const boost::posix_time::time_duration &)>>>,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char [4]>,0>>>,2>>,boost::log::v2_mt_nt6::attributes::named_scope::value_type,boost::log::v2_mt_nt6::fallback_to_none,boost::log::v2_mt_nt6::expressions::aux::format_named_scope_impl>>,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char [4]>,0>>>,2>>,severity_level,boost::log::v2_mt_nt6::fallback_to_none,boost::log::v2_mt_nt6::to_log_fun>>,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char [3]>,0>>>,2>>,boost::log::v2_mt_nt6::expressions::attribute_actor<boost::mpl::vector2std::string,std::wstring,boost::log::v2_mt_nt6::fallback_to_none,boost::log::v2_mt_nt6::expressions::tag::message,boost::phoenix::actor>>,
T0=char [11],
T1=boost::parameter::aux::tagged_argument<boost::log::v2_mt_nt6::keywords::tag::filter,const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::greater_equal,boost::proto::argsns_::list2<boost::log::v2_mt_nt6::expressions::attribute_actor<severity_level,boost::log::v2_mt_nt6::fallback_to_none,void,boost::phoenix::actor>,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<severity_level>,0>>>,2>>>,
T2=boost::parameter::aux::tagged_argument<boost::log::v2_mt_nt6::keywords::tag::format,const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt6::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt6::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt6::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::shift_left,boost::proto::argsns_::list2<boost::phoenix::actor<boost::log::v2_mt_nt6::expressions::aux::attribute_output_terminal<boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<boost::phoenix::argument<2>>,0>>,boost::posix_time::ptime,boost::log::v2_mt_nt6::fallback_to_none,boost::log::v2_mt_nt6::aux::light_function<void (boost::log::v2_mt_nt6::basic_formatting_ostream<char,std::char_traits,std::allocator> &,const boost::posix_time::ptime &)>>>,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char [3]>,0>>>,2>>,boost::log::v2_mt_nt6::attributes::timer::value_type,boost::log::v2_mt_nt6::fallback_to_none,boost::log::v2_mt_nt6::aux::light_function<void (boost::log::v2_mt_nt6::basic_formatting_ostream<char,std::char_traits,std::allocator> &,const boost::posix_time::time_duration &)>>>,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char [4]>,0>>>,2>>,boost::log::v2_mt_nt6::attributes::named_scope::value_type,boost::log::v2_mt_nt6::fallback_to_none,boost::log::v2_mt_nt6::expressions::aux::format_named_scope_impl>>,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char [4]>,0>>>,2>>,severity_level,boost::log::v2_mt_nt6::fallback_to_none,boost::log::v2_mt_nt6::to_log_fun>>,boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char [3]>,0>>>,2>>,boost::log::v2_mt_nt6::expressions::attribute_actor<boost::mpl::vector2std::string,std::wstring,boost::log::v2_mt_nt6::fallback_to_none,boost::log::v2_mt_nt6::expressions::tag::message,boost::phoenix::actor>>,2>>>
]
.\boost/parameter/aux_/unwrap_cv_reference.hpp(34): error C2528: '': pointer to reference is illegal

call "..\out\x86rel\boost\bin.v2\standalone\msvc\msvc-14.1\msvc-setup.bat"  >nul

cl /Zm800 -nologo @"..\out\x86rel\boost\bin.v2\libs\log\example\basic_usage\msvc-14.1\release\threadapi-win32\threading-multi\main.obj.rsp"

@Lastique
Copy link
Member

See #68 (comment).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants