[Boost-bugs] [Boost C++ Libraries] #13093: boost_1_41_0 and qi compiler error

Subject: [Boost-bugs] [Boost C++ Libraries] #13093: boost_1_41_0 and qi compiler error
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-06-23 17:12:27


#13093: boost_1_41_0 and qi compiler error
------------------------------+---------------------
 Reporter: anonymous | Owner: djowel
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: spirit
  Version: Boost 1.41.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------
 Does anyone know how to fix the following errors? They are the same type
 and come up with 1_41 version. whereas with 1_53, it just compiles and run
 fine.

 I need this to worked with 1_41. The code and detail files are attached.

 1)
 rule.cpp:36:14: required from ‘json::Grammar<Iterator>::Grammar() [with
 Iterator = __gnu_cxx::__normal_iterator<const char*,
 std::basic_string<char> >]’
 rule.cpp:54:47: required from here
 ./boost_1_41_0/boost/spirit/home/support/attributes.hpp:409:70: error: no
 matching function for call to ‘std::map<std::basic_string<char>,
 boost::any>::map(boost::any&)’
          static Transformed pre(Exposed& val) { return Transformed(val); }

 2)
 rule.cpp:36:14: required from ‘json::Grammar<Iterator>::Grammar() [with
 Iterator = __gnu_cxx::__normal_iterator<const char*,
 std::basic_string<char> >]’
 rule.cpp:54:47: required from here
 ./boost_1_41_0/boost/spirit/home/support/attributes.hpp:409:70: error: no
 matching function for call to
 â€˜std::vector<boost::any>::vector(boost::any&)’
          static Transformed pre(Exposed& val) { return Transformed(val); }
                                                                       ^
 3)
 rule.cpp:36:14: required from ‘json::Grammar<Iterator>::Grammar() [with
 Iterator = __gnu_cxx::__normal_iterator<const char*,
 std::basic_string<char> >]’
 rule.cpp:54:47: required from here
 ./boost_1_41_0/boost/spirit/home/support/attributes.hpp:409:70: error: no
 matching function for call to
 â€˜std::basic_string<char>::basic_string(boost::any&)’
          static Transformed pre(Exposed& val) { return Transformed(val); }
                                                                       ^

--
Ticket URL: <https://svn.boost.org/trac10/boost/ticket/13093>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-06-23 17:18:28 UTC