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

ビルドエラーになりました (CentOS7) #43

Open
yuki2006 opened this issue Dec 20, 2014 · 1 comment
Open

ビルドエラーになりました (CentOS7) #43

yuki2006 opened this issue Dec 20, 2014 · 1 comment
Assignees

Comments

@yuki2006
Copy link

/usr/include/boost/utility/result_of.hpp:166:8: error: no class template named 'result' in 'const struct shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean'
struct result_of_nested_result : F::template result
^
In file included from /usr/include/boost/phoenix/core/detail/preprocessed/function_eval.hpp:12:0,
from /usr/include/boost/phoenix/core/detail/function_eval.hpp:14,
from /usr/include/boost/phoenix/function/function.hpp:12,
from /usr/include/boost/phoenix/function.hpp:11,
from /usr/include/boost/spirit/include/phoenix_function.hpp:15,
from /usr/include/boost/spirit/home/support/terminal.hpp:17,
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 syntax/parser.hpp:5,
from main.cpp:8:

とりあえず。
Package boost-devel.x86_64 0:1.55.0-1 will be installed
です。

@tomoki tomoki self-assigned this Dec 20, 2014
@yuki2006
Copy link
Author

部分的にだとあれかも知れなかったので全文張ります。

In file included from server/../runtime/diver/diver.hpp:4:0,
from server/server.hpp:10,
from main.cpp:12:
server/../runtime/diver/diving_message.hpp: In member function 'shiranui::runtime::diver::DivingMessage shiranui::runtime::diver::DivingMessage::add_flymark_index(shiranui::syntax::ast::FlyMark&, int)':
server/../runtime/diver/diving_message.hpp:77:25: warning: unused variable 'end_point' [-Wunused-variable]
int end_point = t.point + t.length;
^
In file included from /usr/include/boost/proto/proto_fwd.hpp:28:0,
from /usr/include/boost/phoenix/core/limits.hpp:22,
from /usr/include/boost/spirit/include/phoenix_limits.hpp:13,
from /usr/include/boost/spirit/home/support/meta_compiler.hpp:16,
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 syntax/parser.hpp:5,
from main.cpp:8:
/usr/include/boost/utility/result_of.hpp: In instantiation of 'struct boost::detail::result_of_nested_result<const shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean, const shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean(const bool&)>':
/usr/include/boost/utility/result_of.hpp:170:8: required from 'struct boost::detail::tr1_result_of_impl<const shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean, const shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean(const bool&), false>'
/usr/include/boost/utility/detail/result_of_iterate.hpp:27:8: required from 'struct boost::tr1_result_of<const shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean(const bool&)>'
/usr/include/boost/utility/detail/result_of_iterate.hpp:146:8: required from 'struct boost::result_of<const shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean(const bool&)>'
/usr/include/boost/phoenix/core/detail/preprocessed/function_eval_10.hpp:72:21: required from 'struct boost::phoenix::detail::function_eval::result<boost::phoenix::detail::function_eval(const boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>&, const boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l>&, boost::phoenix::vector2<boost::phoenix::vector1<const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >>&, const boost::phoenix::default_actions&>)>'
/usr/include/boost/utility/result_of.hpp:166:8: required from 'struct boost::detail::result_of_nested_result<boost::phoenix::detail::function_eval, boost::phoenix::detail::function_eval(const boost::proto::exprns
::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>&, const boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l>&, boost::phoenix::vector2<boost::phoenix::vector1<const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >>&, const boost::phoenix::default_actions&>)>'
/usr/include/boost/utility/result_of.hpp:170:8: [ skipping 8 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/boost/phoenix/core/detail/preprocessed/actor_result_of_10.hpp:26:17: required from 'struct boost::phoenix::result_of::nullary_actor_result<boost::proto::exprns
::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >'
/usr/include/boost/mpl/eval_if.hpp:60:31: required from 'struct boost::mpl::eval_if_c<true, boost::phoenix::result_of::nullary_actor_result<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >, boost::mpl::identityboost::phoenix::detail::error_expecting_arguments >'
/usr/include/boost/phoenix/core/detail/preprocessed/actor_result_of_10.hpp:38:13: required from 'struct boost::phoenix::result_of::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l>, void, void, void, void, void, void, void, void, void, void, void>'
/usr/include/boost/phoenix/core/actor.hpp:240:9: required from 'struct boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >'
syntax/parser.hpp:133:76: required from 'shiranui::syntax::Parser<Iterator, Skipper>::Parser() [with Iterator = shiranui::point_iterator<gnu_cxx::normal_iterator<const char*, std::basic_string > >; Skipper = shiranui::syntax::CommentSkipper<shiranui::point_iterator<gnu_cxx::normal_iterator<const char*, std::basic_string > > >]'
main.cpp:37:36: required from here
/usr/include/boost/utility/result_of.hpp:166:8: error: no class template named 'result' in 'const struct shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean'
struct result_of_nested_result : F::template result
^
In file included from /usr/include/boost/phoenix/core/detail/preprocessed/function_eval.hpp:12:0,
from /usr/include/boost/phoenix/core/detail/function_eval.hpp:14,
from /usr/include/boost/phoenix/function/function.hpp:12,
from /usr/include/boost/phoenix/function.hpp:11,
from /usr/include/boost/spirit/include/phoenix_function.hpp:15,
from /usr/include/boost/spirit/home/support/terminal.hpp:17,
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 syntax/parser.hpp:5,
from main.cpp:8:
/usr/include/boost/phoenix/core/detail/preprocessed/function_eval_10.hpp: In instantiation of 'struct boost::phoenix::detail::function_eval::result<boost::phoenix::detail::function_eval(const boost::proto::exprns
::basic_expr<boost::proto::tagns
::tag::terminal, boost::proto::argsns
::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>&, const boost::proto::exprns
::basic_expr<boost::proto::tagns::tag::terminal, boost::proto::argsns::term, 0l>&, boost::phoenix::vector2<boost::phoenix::vector1<const boost::phoenix::actor<boost::proto::exprns::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >>&, const boost::phoenix::default_actions&>)>':
/usr/include/boost/utility/result_of.hpp:166:8: required from 'struct boost::detail::result_of_nested_result<boost::phoenix::detail::function_eval, boost::phoenix::detail::function_eval(const boost::proto::exprns
::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>&, const boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l>&, boost::phoenix::vector2<boost::phoenix::vector1<const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >>&, const boost::phoenix::default_actions&>)>'
/usr/include/boost/utility/result_of.hpp:170:8: required from 'struct boost::detail::tr1_result_of_impl<boost::phoenix::detail::function_eval, boost::phoenix::detail::function_eval(const boost::proto::exprns
::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>&, const boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l>&, boost::phoenix::vector2<boost::phoenix::vector1<const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >>&, const boost::phoenix::default_actions&>), false>'
/usr/include/boost/utility/detail/result_of_iterate.hpp:27:8: required from 'struct boost::tr1_result_of<boost::phoenix::detail::function_eval(const boost::proto::exprns
::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>&, const boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l>&, boost::phoenix::vector2<boost::phoenix::vector1<const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >>&, const boost::phoenix::default_actions&>)>'
/usr/include/boost/utility/detail/result_of_iterate.hpp:146:8: required from 'struct boost::result_of<boost::phoenix::detail::function_eval(const boost::proto::exprns
::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>&, const boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l>&, boost::phoenix::vector2<boost::phoenix::vector1<const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >>&, const boost::phoenix::default_actions&>)>'
/usr/include/boost/phoenix/core/detail/preprocessed/call_10.hpp:65:17: required from 'struct boost::phoenix::detail::call_impl<boost::phoenix::detail::function_eval, const boost::proto::exprns
::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l>&, boost::phoenix::vector1<const boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >>&, const boost::phoenix::default_actions&, 2l>'
/usr/include/boost/phoenix/core/call.hpp:60:16: [ skipping 4 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ]
/usr/include/boost/phoenix/core/detail/preprocessed/actor_result_of_10.hpp:26:17: required from 'struct boost::phoenix::result_of::nullary_actor_result<boost::proto::exprns
::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >'
/usr/include/boost/mpl/eval_if.hpp:60:31: required from 'struct boost::mpl::eval_if_c<true, boost::phoenix::result_of::nullary_actor_result<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >, boost::mpl::identityboost::phoenix::detail::error_expecting_arguments >'
/usr/include/boost/phoenix/core/detail/preprocessed/actor_result_of_10.hpp:38:13: required from 'struct boost::phoenix::result_of::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l>, void, void, void, void, void, void, void, void, void, void, void>'
/usr/include/boost/phoenix/core/actor.hpp:240:9: required from 'struct boost::phoenix::actor<boost::proto::exprns_::basic_expr<boost::phoenix::detail::tag::function_eval, boost::proto::argsns_::list2<boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term<shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean >, 0l>, boost::proto::exprns_::basic_expr<boost::proto::tagns_::tag::terminal, boost::proto::argsns_::term, 0l> >, 2l> >'
syntax/parser.hpp:133:76: required from 'shiranui::syntax::Parser<Iterator, Skipper>::Parser() [with Iterator = shiranui::point_iterator<__gnu_cxx::__normal_iterator<const char*, std::basic_string > >; Skipper = shiranui::syntax::CommentSkipper<shiranui::point_iterator<__gnu_cxx::__normal_iterator<con#include "point_iterator.hpp" // overwrite for temporary fix.
#include
#include
#include <config.hpp>
#include
#include <boost/program_options.hpp>
#include "misc.hpp"
#include "syntax/parser.hpp"
#include "runtime/runner.hpp"
#include "runtime/value_printer.hpp"
#include "runtime/dsl/dsl_exception.hpp"
#include "server/server.hpp"
#include "tester/tester.hpp"

void repl(){
using namespace shiranui;
using namespace shiranui::syntax;
using namespace shiranui::runtime;
using namespace shiranui::runtime::DSL;
shiranui::runtime::Runner r;
shiranui::syntax::ast::PrettyPrinterForAST printer(std::cerr);
std::cerr << "This is " << PACKAGE_STRING << std::endl;
while(true){
std::cout << "> ";
std::string str;
st char*, std::basic_string > > >]'
main.cpp:37:36: required from here
/usr/include/boost/phoenix/core/detail/preprocessed/function_eval_10.hpp:72:21: error: no type named 'type' in 'struct boost::result_of<const shiranui::syntax::qi_make_shared_structshiranui::syntax::ast::Boolean(const bool&)>'
type;
^

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