compiler error boost version 1_41 vs 1_53 boost spirit qi - attributes.hpp:409 map, vector, and string

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

compiler error boost version 1_41 vs 1_53 boost spirit qi - attributes.hpp:409 map, vector, and string

nsharma
This post has NOT been accepted by the mailing list yet.
Please see attached rule.cpp and error log. 1_53 version works fine. I get the error with 1_41 boost version. A help is appreciated.
rule.cpp rule.cpp
report.log (build error output) report.log
boost 1_41 build - g++ -g3 rule.cpp -I./boost_1_41_0
Error - [nsharma@localhost ~]$ grep error report.log ./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&)’
./boost_1_41_0/boost/spirit/home/support/attributes.hpp:409:70: error: no matching function for call to ‘std::vector::vector(boost::any&)’
./boost_1_41_0/boost/spirit/home/support/attributes.hpp:409:70: error: no matching function for call to ‘std::basic_string::basic_string(boost::any&)’
./boost_1_41_0/boost/spirit/home/support/attributes.hpp:419:32: error: ‘assign_to’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
./boost_1_41_0/boost/spirit/home/support/attributes.hpp:419:32: error: ‘assign_to’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
./boost_1_41_0/boost/spirit/home/support/attributes.hpp:419:32: error: ‘assign_to’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
boost 1_53 build - g++ -g3 rule.cpp -I./boost_1_53_0
run - ./a.out '[1.0,2.0]'
./a.out '[1.0,2.0]' 1_53
St6vectorIN5boost3anyESaIS1_EE
St3mapISsN5boost3anyESt4lessISsESaISt4pairIKSsS1_EEE
St6vectorIN5boost3anyESaIS1_EE
St4pairISsN5boost3anyEE
Loading...