Boost C++ Libraries: Ticket #13470: iterator_t not defined in grammar.ipp when building with intel compiler https://svn.boost.org/trac10/ticket/13470 <p> Building an application with Intel compiler (icc version 17.0.4 (gcc version 5.3.1 compatibility)) gives the following error: </p> <pre class="wiki">/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&lt;DerivedT, ContextT&gt;::~grammar() [with DerivedT=boost::property_tree::json_parser::json_grammar&lt;boost::property_tree::ptree&gt;, ContextT=boost::spirit::classic::parser_context&lt;boost::spirit::classic::nil_t&gt;]" at line 310 of "/usr/include/boost/property_tree/detail/json_parser_read.hpp" implicit generation of "boost::property_tree::json_parser::json_grammar&lt;Ptree&gt;::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&lt;Ptree&gt; [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&lt;Ptree::key_type::value_type, std::char_traits&lt;Ptree::key_type::value_type&gt;&gt; &amp;, Ptree &amp;, const std::string &amp;) [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 &amp;, Ptree &amp;, const std::locale &amp;) [with Ptree=boost::property_tree::ptree]" at line 83 of "/home/spoac/install/spoac_build/support_services/config/config.cc" </pre><p> There is a line 310 in the online documentation here: </p> <p> <a href="http://www.boost.org/doc/libs/1_53_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp">http://www.boost.org/doc/libs/1_53_0/boost/spirit/home/classic/core/non_terminal/impl/grammar.ipp</a> </p> <p> 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 </p> <p> So there appears to be a bug in the rpm and also a mismatch with the online documentation. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/13470 Trac 1.4.3 Kohei Takahashi Thu, 15 Mar 2018 10:23:43 GMT component changed; owner set https://svn.boost.org/trac10/ticket/13470#comment:1 https://svn.boost.org/trac10/ticket/13470#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Joel de Guzman</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">spirit</span> </li> </ul> Ticket Nikita Kniazev <nok.raven@…> Thu, 15 Mar 2018 21:42:50 GMT <link>https://svn.boost.org/trac10/ticket/13470#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/13470#comment:2</guid> <description> <p> Boost 1.53 is ancient (released 5 years ago). I do not see <a href="http://www.boost.org/development/tests/master/developer/spirit-classic.html">any problems</a> with our <a href="http://www.boost.org/development/tests/master/intel-linux-master.html">only Intel reporter</a> on the master branch (will be released with 1.67). </p> <blockquote class="citation"> <p> So there appears to be a bug in the rpm </p> </blockquote> <p> Then you should have been reported the problem to package maintainers of your distro. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Thu, 15 Mar 2018 22:59:55 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/13470#comment:3 https://svn.boost.org/trac10/ticket/13470#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> Ticket