Compilation error

20 views
Skip to first unread message

Alexey Umnov

unread,
Jul 5, 2013, 1:40:35 AM7/5/13
to scalpe...@googlegroups.com
Hello!
First of all, thanks for such an interesting project! However I couldn't manage to build the library. I did all steps listed in a "Build" webpage, but compilation didn't succeed:

/Downloads/scalpel-master/scalpel/src/scalpel/cpp/semantic_analysis/detail/namespace_construction.ipp:199:4:   required from ‘void scalpel::cpp::semantic_analysis::detail::fill_namespace(Namespace&, const scalpel::cpp::syntax_nodes::simple_declaration&) [with Namespace = scalpel::cpp::semantic_entities::unnamed_namespace]’
/Downloads/scalpel-master/scalpel/src/scalpel/cpp/semantic_analysis/detail/namespace_construction.ipp:81:5:   required from ‘void scalpel::cpp::semantic_analysis::detail::fill_namespace(Namespace&, const declaration_seq&) [with Namespace = scalpel::cpp::semantic_entities::unnamed_namespace; scalpel::cpp::syntax_nodes::declaration_seq = scalpel::cpp::syntax_nodes::list_node<scalpel::cpp::syntax_nodes::declaration>]’
/Downloads/scalpel-master/scalpel/src/scalpel/cpp/semantic_analysis/detail/namespace_construction.ipp:57:3:   required from ‘void scalpel::cpp::semantic_analysis::detail::fill_namespace(Namespace&, const scalpel::cpp::syntax_nodes::namespace_definition&) [with Namespace = scalpel::cpp::semantic_entities::unnamed_namespace]’
/Downloads/scalpel-master/scalpel/src/scalpel/cpp/semantic_analysis/detail/namespace_construction.ipp:118:69:   required from ‘void scalpel::cpp::semantic_analysis::detail::fill_namespace(Namespace&, const declaration_seq&) [with Namespace = scalpel::cpp::semantic_entities::namespace_; scalpel::cpp::syntax_nodes::declaration_seq = scalpel::cpp::syntax_nodes::list_node<scalpel::cpp::syntax_nodes::declaration>]’
/Downloads/scalpel-master/scalpel/src/scalpel/cpp/semantic_analysis.cpp:45:89:   required from here
/Downloads/scalpel-master/scalpel/src/scalpel/cpp/semantic_analysis/detail/type_construction.ipp:548:150: error: ‘create_expression_from_conditional_expression’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
In file included from /home/umnov/Downloads/scalpel-master/scalpel/src/scalpel/cpp/semantic_analysis/detail/expression_construction.hpp:299:0,
                 from /home/umnov/Downloads/scalpel-master/scalpel/src/scalpel/cpp/semantic_analysis/detail/namespace_construction.ipp:24,
                 from /home/umnov/Downloads/scalpel-master/scalpel/src/scalpel/cpp/semantic_analysis/detail/namespace_construction.hpp:92,
                 from /home/umnov/Downloads/scalpel-master/scalpel/src/scalpel/cpp/semantic_analysis.cpp:22:
/Downloads/scalpel-master/scalpel/src/scalpel/cpp/semantic_analysis/detail/expression_construction.ipp:169:1: note: ‘template<class DeclarativeRegion> scalpel::cpp::semantic_entities::expression_t scalpel::cpp::semantic_analysis::detail::create_expression_from_conditional_expression(const scalpel::cpp::syntax_nodes::conditional_expression&, DeclarativeRegion&)’ declared here, later in the translation unit
make[2]: *** [CMakeFiles/scalpel.dir/src/scalpel/cpp/semantic_analysis.cpp.o] Error 1
make[1]: *** [CMakeFiles/scalpel.dir/all] Error 2
make: *** [all] Error 2

Ubuntu 13.04, GCC 4.7.3

Any ideas?
Reply all
Reply to author
Forward
0 new messages