Project

General

Profile

Actions

Bug #5477

closed

WT 3.3.6/4 fail to build on Visual Studio 2015 with Boost 1.63

Added by Isaac Lascasas almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
01/04/2017
Due date:
% Done:

0%

Estimated time:

Description

After upgrading from Boost 1.62 to 1.63 I found this problem while building WT on both 3.3.6 and 4 branches:

C:\boost_1_63_0__64\boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp(91): error C2664: 'boost::phoenix::actor<boost::proto::exprns_::basic_expr<Tag,Args,6>> boost::phoenix::expr_ext<boost::phoenix::actor,Tag,H,boost::phoenix::actor<boost::spirit::argument<1>>,boost::phoenix::actor<boost::spirit::argument<2>>,boost::phoenix::actor<boost::spirit::argument<3>>,char *,fs_error_tag>::make(const ErrorReporting<Iterator> &,const boost::phoenix::actor<boost::spirit::argument<1>> &,const boost::phoenix::actor<boost::spirit::argument<2>> &,const boost::phoenix::actor<boost::spirit::argument<3>> &,char *const ,const fs_error_tag &)': cannot convert argument 5 from 'const char [17]' to 'char *const '
2> with
2> [
2> Tag=boost::phoenix::detail::tag::function_eval,
2> Args=boost::proto::argsns_::list6<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<ErrorReporting<std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>>>,0>,boost::phoenix::actor<boost::spirit::argument<1>>,boost::phoenix::actor<boost::spirit::argument<2>>,boost::phoenix::actor<boost::spirit::argument<3>>,boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char *>,0>,boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<fs_error_tag>,0>>,
2> H=ErrorReporting<std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>>,
2> Iterator=std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>
2> ] (compiling source file C:\libs\wt\src\Wt\Render\CssParser.C)
2> C:\boost_1_63_0__64\boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp(91): note: Conversion loses qualifiers (compiling source file C:\libs\wt\src\Wt\Render\CssParser.C)
2> C:\libs\wt\src\Wt\Render\CssParser.C(375): note: see reference to function template instantiation 'const boost::phoenix::actor<boost::proto::exprns_::basic_expr<Tag,Args,6>> boost::phoenix::function<ErrorReporting<Iterator>>::operator ()<boost::spirit::_2_type,boost::spirit::_3_type,boost::phoenix::actor<boost::spirit::argument<3>>,char[17],fs_error_tag>(const A0 &,const A1 &,const A2 &,const A3 (&),const A4 &) const' being compiled
2> with
2> [
2> Tag=boost::phoenix::detail::tag::function_eval,
2> Args=boost::proto::argsns_::list6<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<ErrorReporting<std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>>>,0>,boost::phoenix::actor<boost::spirit::argument<1>>,boost::phoenix::actor<boost::spirit::argument<2>>,boost::phoenix::actor<boost::spirit::argument<3>>,boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char *>,0>,boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<fs_error_tag>,0>>,
2> Iterator=std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>,
2> A0=boost::spirit::_2_type,
2> A1=boost::spirit::_3_type,
2> A2=boost::phoenix::actor<boost::spirit::argument<3>>,
2> A3=char [17],
2> A4=fs_error_tag
2> ]
2> C:\libs\wt\src\Wt\Render\CssParser.C(373): note: see reference to function template instantiation 'const boost::phoenix::actor<boost::proto::exprns_::basic_expr<Tag,Args,6>> boost::phoenix::function<ErrorReporting<Iterator>>::operator ()<boost::spirit::_2_type,boost::spirit::_3_type,boost::phoenix::actor<boost::spirit::argument<3>>,char[17],fs_error_tag>(const A0 &,const A1 &,const A2 &,const A3 (&),const A4 &) const' being compiled
2> with
2> [
2> Tag=boost::phoenix::detail::tag::function_eval,
2> Args=boost::proto::argsns_::list6<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<ErrorReporting<std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>>>,0>,boost::phoenix::actor<boost::spirit::argument<1>>,boost::phoenix::actor<boost::spirit::argument<2>>,boost::phoenix::actor<boost::spirit::argument<3>>,boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<char *>,0>,boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal,boost::proto::argsns_::term<fs_error_tag>,0>>,
2> Iterator=std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>,
2> A0=boost::spirit::_2_type,
2> A1=boost::spirit::_3_type,
2> A2=boost::phoenix::actor<boost::spirit::argument<3>>,
2> A3=char [17],
2> A4=fs_error_tag
2> ]
2> C:\libs\wt\src\Wt\Render\CssParser.C(215): note: while compiling class template member function 'CssGrammer<std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>>::CssGrammer(void)'
2> C:\libs\wt\src\Wt\Render\CssParser.C(449): note: see reference to function template instantiation 'CssGrammer<std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>>::CssGrammer(void)' being compiled
2> C:\libs\wt\src\Wt\Render\CssParser.C(449): note: see reference to class template instantiation 'CssGrammer<std::_String_const_iterator<std::_String_val<std::_Simple_types<char>>>>' being compiled
2> C:\boost_1_63_0__64\boost/bind/placeholders.hpp(54): note: see reference to class template instantiation 'boost::arg<9>' being compiled (compiling source file C:\libs\wt\src\Wt\Render\CssParser.C)
2> C:\boost_1_63_0__64\boost/bind/placeholders.hpp(53): note: see reference to class template instantiation 'boost::arg<8>' being compiled (compiling source file C:\libs\wt\src\Wt\Render\CssParser.C)
2> C:\boost_1_63_0__64\boost/bind/placeholders.hpp(52): note: see reference to class template instantiation 'boost::arg<7>' being compiled (compiling source file C:\libs\wt\src\Wt\Render\CssParser.C)
2> C:\boost_1_63_0__64\boost/bind/placeholders.hpp(51): note: see reference to class template instantiation 'boost::arg<6>' being compiled (compiling source file C:\libs\wt\src\Wt\Render\CssParser.C)
2> C:\boost_1_63_0__64\boost/bind/placeholders.hpp(50): note: see reference to class template instantiation 'boost::arg<5>' being compiled (compiling source file C:\libs\wt\src\Wt\Render\CssParser.C)
2> C:\boost_1_63_0__64\boost/bind/placeholders.hpp(49): note: see reference to class template instantiation 'boost::arg<4>' being compiled (compiling source file C:\libs\wt\src\Wt\Render\CssParser.C)
2> C:\boost_1_63_0__64\boost/bind/placeholders.hpp(48): note: see reference to class template instantiation 'boost::arg<3>' being compiled (compiling source file C:\libs\wt\src\Wt\Render\CssParser.C)
2> C:\boost_1_63_0__64\boost/bind/placeholders.hpp(47): note: see reference to class template instantiation 'boost::arg<2>' being compiled (compiling source file C:\libs\wt\src\Wt\Render\CssParser.C)
2> C:\boost_1_63_0__64\boost/bind/placeholders.hpp(46): note: see reference to class template instantiation 'boost::arg<1>' being compiled (compiling source file C:\libs\wt\src\Wt\Render\CssParser.C)

Regards.

Actions #1

Updated by Roel Standaert almost 8 years ago

  • Status changed from New to Resolved

This was fixed by pull request #102: https://github.com/emweb/wt/pull/102

Actions #2

Updated by Roel Standaert over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF