Subject: [Boost-bugs] [Boost C++ Libraries] #13470: iterator_t not defined in grammar.ipp when building with intel compiler
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2018-03-07 15:55:16
#13470: iterator_t not defined in grammar.ipp when building with intel compiler
------------------------------------+---------------------
Reporter: eric.a1.jones@⦠| Owner: (none)
Type: Bugs | Status: new
Milestone: To Be Determined | Component: None
Version: Boost 1.53.0 | Severity: Problem
Keywords: grammar.ipp iterator_t |
------------------------------------+---------------------
Building an application with Intel compiler (icc version 17.0.4 (gcc
version 5.3.1 compatibility)) gives the following error:
{{{
/usr/include/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp(320):
error: identifier "iterator_t" is undefined
for (iterator_t i = helpers.rbegin(); i != helpers.rend(); ++i)
^
detected during:
instantiation of "boost::spirit::classic::grammar<DerivedT,
ContextT>::~grammar() [with
DerivedT=boost::property_tree::json_parser::json_grammar<boost::property_tree::ptree>,
ContextT=boost::spirit::classic::parser_context<boost::spirit::classic::nil_t>]"
at line 310 of
"/usr/include/boost/property_tree/detail/json_parser_read.hpp"
implicit generation of
"boost::property_tree::json_parser::json_grammar<Ptree>::json_grammar()
[with Ptree=boost::property_tree::ptree]" at line 310 of
"/usr/include/boost/property_tree/detail/json_parser_read.hpp"
instantiation of class
"boost::property_tree::json_parser::json_grammar<Ptree> [with
Ptree=boost::property_tree::ptree]" at line 310 of
"/usr/include/boost/property_tree/detail/json_parser_read.hpp"
instantiation of "void
boost::property_tree::json_parser::read_json_internal(std::basic_istream<Ptree::key_type::value_type,
std::char_traits<Ptree::key_type::value_type>> &, Ptree &, const
std::string &) [with Ptree=boost::property_tree::ptree]" at line 74 of
"/usr/include/boost/property_tree/json_parser.hpp"
instantiation of "void
boost::property_tree::json_parser::read_json(const std::string &, Ptree &,
const std::locale &) [with Ptree=boost::property_tree::ptree]" at line 83
of "/home/spoac/install/spoac_build/support_services/config/config.cc"
}}}
There is a line 310 in the online documentation here:
http://www.boost.org/doc/libs/1_53_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp
That declares iterator_t. That line appears to be missing from the
installed version of the same file in boost-devel-1.53.0-27.el7.x86_64
So there appears to be a bug in the rpm and also a mismatch with the
online documentation.
-- Ticket URL: <https://svn.boost.org/trac10/ticket/13470> 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 : 2018-03-07 16:01:18 UTC