Project

General

Profile

Actions

Bug #5502

closed

Comilation error in wt 3.3.6 using gcc 6.3.1 & boost 1.63

Added by Nicole King almost 8 years ago. Updated over 7 years ago.

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

0%

Estimated time:

Description

In file included from /usr/include/boost/phoenix/function/detail/cpp03/preprocessed/function_operator.hpp:12:0,

from /usr/include/boost/phoenix/function/detail/cpp03/function_operator.hpp:6,

from /usr/include/boost/phoenix/function/function.hpp:58,

from /usr/include/boost/phoenix/function.hpp:11,

from /usr/include/boost/spirit/include/phoenix_function.hpp:11,

from /usr/include/boost/spirit/home/support/terminal.hpp:18,

from /usr/include/boost/spirit/home/support/common_terminals.hpp:15,

from /usr/include/boost/spirit/home/qi/auto/auto.hpp:13,

from /usr/include/boost/spirit/home/qi/auto.hpp:15,

from /usr/include/boost/spirit/home/qi.hpp:15,

from /usr/include/boost/spirit/include/qi.hpp:16,

from /home/nicole/software/wt-webwidgets/wt-3.3.6/src/Wt/Render/CssParser.C:26:

/usr/include/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp: In instantiation of 'const typename boost::phoenix::detail::expression::function_eval<F, A0, A1, A2, A3, A4>::type boost::phoenix::function::operator()(const A0&, const A1&, const A2&, const A3&, const A4&) const [with A0 = boost::phoenix::actor<boost::spirit::argument<1> >; A1 = boost::phoenix::actor<boost::spirit::argument<2> >; A2 = boost::phoenix::actor<boost::spirit::argument<3> >; A3 = char [17]; A4 = fs_error_tag; F = ErrorReporting<_gnu_cxx::normal_iterator<const char*, std::cxx11::basic_string > >; typename boost::phoenix::detail::expression::function_eval<F, A0, A1, A2, A3, A4>::type = boost::phoenix::actor<boost::proto::exprns::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns*::list6<boost::proto::exprns*::basic_expr<boost::proto::tagns*::tag::terminal, boost::proto::argsns*::term<ErrorReporting<_gnu_cxx::normal_iterator<const char, std::_*cxx11::basic_string > > >, 0l>, 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*>, 0l>, boost::proto::exprns::basic_expr<boost::proto::tagns*::tag::terminal, boost::proto::argsns*::term, 0l> >, 6l> >]':

/home/nicole/software/wt-webwidgets/wt-3.3.6/src/Wt/Render/CssParser.C:375:17: required from 'CssGrammer::CssGrammer() [with Iterator = _gnu_cxx::normal_iterator<const char*, std::_cxx11::basic_string >]'

/home/nicole/software/wt-webwidgets/wt-3.3.6/src/Wt/Render/CssParser.C:449:43: required from here

/usr/include/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp:91:86: error: invalid conversion from 'const char*' to 'param_type {aka char*}' [-fpermissive]

return detail::expression::function_eval<F, A0 , A1 , A2 , A3 , A4>::make(f, a0 , a1 , a2 , a3 , a4);

^

In file included from /usr/include/boost/phoenix/core/argument.hpp:14:0,

from /usr/include/boost/phoenix/core.hpp:15,

from /usr/include/boost/spirit/include/phoenix_core.hpp:11,

from /usr/include/boost/spirit/home/support/make_component.hpp:15,

from /usr/include/boost/spirit/home/support/meta_compiler.hpp:20,

from /usr/include/boost/spirit/home/qi/meta_compiler.hpp:14,

from /usr/include/boost/spirit/home/qi/action/action.hpp:14,

from /usr/include/boost/spirit/home/qi/action.hpp:14,

from /usr/include/boost/spirit/home/qi.hpp:14,

from /usr/include/boost/spirit/include/qi.hpp:16,

from /home/nicole/software/wt-webwidgets/wt-3.3.6/src/Wt/Render/CssParser.C:26:

/usr/include/boost/phoenix/core/expression.hpp:63:21: note: initializing argument 5 of 'static boost::phoenix::expr_ext<Actor, Tag, A>::type boost::phoenix::expr_ext<Actor, Tag, A>::make(typename boost::call_traits::param_type ...) [with Actor = boost::phoenix::actor; Tag = boost::phoenix::detail::tag::function_eval; A = {ErrorReporting<_gnu_cxx::normal_iterator<const char*, std::cxx11::basic_string<char, std::char_traits, std::allocator > > >, 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}; boost::phoenix::expr_ext<Actor, Tag, A>::type = boost::phoenix::actor<boost::proto::exprns::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns*::list6<boost::proto::exprns*::basic_expr<boost::proto::tagns*::tag::terminal, boost::proto::argsns*::term<ErrorReporting<_gnu_cxx::normal_iterator<const char, std::_*cxx11::basic_string > > >, 0l>, 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*>, 0l>, boost::proto::exprns::basic_expr<boost::proto::tagns*::tag::terminal, boost::proto::argsns*::term, 0l> >, 6l> >]'

static type make(typename call_traits::param_type... a)

~

In file included from /usr/include/boost/phoenix/function/detail/cpp03/preprocessed/function_operator.hpp:12:0,

from /usr/include/boost/phoenix/function/detail/cpp03/function_operator.hpp:6,

from /usr/include/boost/phoenix/function/function.hpp:58,

from /usr/include/boost/phoenix/function.hpp:11,

from /usr/include/boost/spirit/include/phoenix_function.hpp:11,

from /usr/include/boost/spirit/home/support/terminal.hpp:18,

from /usr/include/boost/spirit/home/support/common_terminals.hpp:15,

from /usr/include/boost/spirit/home/qi/auto/auto.hpp:13,

from /usr/include/boost/spirit/home/qi/auto.hpp:15,

from /usr/include/boost/spirit/home/qi.hpp:15,

from /usr/include/boost/spirit/include/qi.hpp:16,

from /home/nicole/software/wt-webwidgets/wt-3.3.6/src/Wt/Render/CssParser.C:26:

/usr/include/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp: In instantiation of 'const typename boost::phoenix::detail::expression::function_eval<F, A0, A1, A2, A3, A4>::type boost::phoenix::function::operator()(const A0&, const A1&, const A2&, const A3&, const A4&) const [with A0 = boost::phoenix::actor<boost::spirit::argument<1> >; A1 = boost::phoenix::actor<boost::spirit::argument<2> >; A2 = boost::phoenix::actor<boost::spirit::argument<3> >; A3 = char [17]; A4 = fs_error_tag; F = ErrorReporting<boost::spirit::classic::file_iterator<> >; typename boost::phoenix::detail::expression::function_eval<F, A0, A1, A2, A3, A4>::type = boost::phoenix::actor<boost::proto::exprns*::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns*::list6<boost::proto::exprns*::basic_expr<boost::proto::tagns*::tag::terminal, boost::proto::argsns*::term<ErrorReporting<boost::spirit::classic::file_iterator<> > >, 0l>, 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*>, 0l>, boost::proto::exprns*::basic_expr<boost::proto::tagns*::tag::terminal, boost::proto::argsns_::term, 0l> >, 6l> >]':

/home/nicole/software/wt-webwidgets/wt-3.3.6/src/Wt/Render/CssParser.C:375:17: required from 'CssGrammer::CssGrammer() [with Iterator = boost::spirit::classic::file_iterator<>]'

/home/nicole/software/wt-webwidgets/wt-3.3.6/src/Wt/Render/CssParser.C:475:56: required from here

/usr/include/boost/phoenix/function/detail/cpp03/preprocessed/function_operator_10.hpp:91:86: error: invalid conversion from 'const char*' to 'param_type {aka char*}' [-fpermissive]

return detail::expression::function_eval<F, A0 , A1 , A2 , A3 , A4>::make(f, a0 , a1 , a2 , a3 , a4);

^

In file included from /usr/include/boost/phoenix/core/argument.hpp:14:0,

from /usr/include/boost/phoenix/core.hpp:15,

from /usr/include/boost/spirit/include/phoenix_core.hpp:11,

from /usr/include/boost/spirit/home/support/make_component.hpp:15,

from /usr/include/boost/spirit/home/support/meta_compiler.hpp:20,

from /usr/include/boost/spirit/home/qi/meta_compiler.hpp:14,

from /usr/include/boost/spirit/home/qi/action/action.hpp:14,

from /usr/include/boost/spirit/home/qi/action.hpp:14,

from /usr/include/boost/spirit/home/qi.hpp:14,

from /usr/include/boost/spirit/include/qi.hpp:16,

from /home/nicole/software/wt-webwidgets/wt-3.3.6/src/Wt/Render/CssParser.C:26:

/usr/include/boost/phoenix/core/expression.hpp:63:21: note: initializing argument 5 of 'static boost::phoenix::expr_ext<Actor, Tag, A>::type boost::phoenix::expr_ext<Actor, Tag, A>::make(typename boost::call_traits::param_type ...) [with Actor = boost::phoenix::actor; Tag = boost::phoenix::detail::tag::function_eval; A = {ErrorReporting<boost::spirit::classic::file_iterator<char, boost::spirit::classic::fileiter_impl::mmap_file_iterator > >, 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}; boost::phoenix::expr_ext<Actor, Tag, A>::type = boost::phoenix::actor<boost::proto::exprns::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns*::list6<boost::proto::exprns*::basic_expr<boost::proto::tagns*::tag::terminal, boost::proto::argsns*::term<ErrorReporting<boost::spirit::classic::file_iterator<> > >, 0l>, 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*>, 0l>, boost::proto::exprns::basic_expr<boost::proto::tagns*::tag::terminal, boost::proto::argsns_::term, 0l> >, 6l> >]'

static type make(typename call_traits::param_type... a)

~

gcc info:

[nicole@workbench build]$ gcc -v

Using built-in specs.

COLLECT_GCC=gcc

COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-pc-linux-gnu/6.3.1/lto-wrapper

Target: x86_64-pc-linux-gnu

Configured with: /build/gcc/src/gcc/configure ---prefix=/usr ---libdir=/usr/lib ---libexecdir=/usr/lib ---mandir=/usr/share/man ---infodir=/usr/share/info ---with-bugurl=https://bugs.archlinux.org/ ---enable-languages=c,c,ada,fortran,go,lto,objc,obj-c ---enable-shared ---enable-threads=posix ---enable-libmpx ---with-system-zlib ---with-isl ---enable-__cxa_atexit ---disable-libunwind-exceptions ---enable-clocale=gnu ---disable-libstdcxx-pch ---disable-libssp ---enable-gnu-unique-object ---enable-linker-build-id ---enable-lto ---enable-plugin ---enable-install-libiberty ---with-linker-hash-style=gnu ---enable-gnu-indirect-function ---disable-multilib ---disable-werror ---enable-checking=release

Thread model: posix

gcc version 6.3.1 20170109 (GCC)

boost library 1.63

Actions #1

Updated by Nicole King almost 8 years ago

I've looked very carefully at the code and tried to find a solution. Unfortunately, I don't understand the context and have very limited experience with boost::phoenix. I have therefore been unsuccessful.

Actions #2

Updated by Roel Standaert almost 8 years ago

  • Status changed from New to Resolved

This was fixed in master by pull request #102

Actions #3

Updated by Roel Standaert over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF