Boost C++ Libraries: Ticket #1651: incorrect typedefs in examples https://svn.boost.org/trac10/ticket/1651 <p> <a class="ext-link" href="http://boost.org/libs/spirit/doc/multi_pass.html"><span class="icon">​</span>http://boost.org/libs/spirit/doc/multi_pass.html</a> </p> <p> The example can't be compiled as it declares typedefs with names already declared in the library itself and point to different types: </p> <pre class="wiki"> typedef char char_t; typedef multi_pass&lt;istreambuf_iterator&lt;char_t&gt; &gt; iterator_t; typedef skip_parser_iteration_policy&lt;space_parser&gt; iter_policy_t; typedef scanner_policies&lt;iter_policy_t&gt; scanner_policies_t; typedef scanner&lt;iterator_t, scanner_policies_t&gt; scanner_t; </pre><p> It results in very cryptic error messages with gcc3.4.6. </p> <p> I'm afraid this is the case for some other Spirit doc pages. </p> <p> Thanks, Maxim </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1651 Trac 1.4.3 Daniel James Thu, 10 Apr 2008 21:09:41 GMT owner, component changed https://svn.boost.org/trac10/ticket/1651#comment:1 https://svn.boost.org/trac10/ticket/1651#comment:1 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Matias Capeletto</span> to <span class="trac-author">Joel de Guzman</span> </li> <li><strong>component</strong> <span class="trac-field-old">Documentation</span> → <span class="trac-field-new">spirit</span> </li> </ul> Ticket Joel de Guzman Sat, 13 Jun 2009 05:52:07 GMT owner changed https://svn.boost.org/trac10/ticket/1651#comment:2 https://svn.boost.org/trac10/ticket/1651#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Joel de Guzman</span> to <span class="trac-author">Hartmut Kaiser</span> </li> </ul> Ticket Hartmut Kaiser Mon, 21 Sep 2009 22:07:37 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/1651#comment:3 https://svn.boost.org/trac10/ticket/1651#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> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/56351" title="Spirit: fixed #1651">[56351]</a>) Spirit: fixed <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/1651" title="#1651: Bugs: incorrect typedefs in examples (closed: fixed)">#1651</a> </p> Ticket