Opened 5 years ago
Closed 5 years ago
#13093 closed Bugs (fixed)
boost_1_41_0 and qi compiler error
Reported by: | anonymous | Owned by: | Joel de Guzman |
---|---|---|---|
Milestone: | To Be Determined | Component: | spirit |
Version: | Boost 1.41.0 | Severity: | Problem |
Keywords: | Cc: |
Description
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); }
Attachments (2)
Change History (5)
by , 5 years ago
by , 5 years ago
Attachment: | report.log added |
---|
comment:2 by , 5 years ago
Well, for this kind of questions I suppose no one except you will spend the time. If you really want to find the commit that fixed the problem you should use git bisect.
comment:3 by , 5 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |