Boost C++ Libraries: Ticket #3553: Changeset 57125 broke Proto https://svn.boost.org/trac10/ticket/3553 <p> Changeset 57125, a fix for Ticket <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/2355" title="#2355: Bugs: discrepancy between std::accumulate and fusion::accumulate (closed: fixed)">#2355</a> of the Fusion library, broke the Proto library. Here is a fix for Proto. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/3553 Trac 1.4.3 Christopher Schmidt Sat, 24 Oct 2009 11:11:47 GMT attachment set https://svn.boost.org/trac10/ticket/3553 https://svn.boost.org/trac10/ticket/3553 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">proto.diff</span> </li> </ul> Ticket Christopher Schmidt Sat, 24 Oct 2009 11:14:37 GMT component changed; owner set https://svn.boost.org/trac10/ticket/3553#comment:1 https://svn.boost.org/trac10/ticket/3553#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Eric Niebler</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">proto</span> </li> </ul> Ticket Eric Niebler Sat, 24 Oct 2009 14:09:37 GMT <link>https://svn.boost.org/trac10/ticket/3553#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3553#comment:2</guid> <description> <p> Why is the patch testing for BOOST_VERSION &lt; 103500? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sat, 24 Oct 2009 14:20:59 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3553#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3553#comment:3</guid> <description> <p> If BOOST_VERSION &lt; 103500, the spirit fusion library is used, which uses the old interface. See <a class="ext-link" href="https://svn.boost.org/trac/boost/browser/trunk/boost/proto/transform/fold.hpp#L20"><span class="icon">​</span>fold.hpp</a> and <a class="ext-link" href="https://svn.boost.org/trac/boost/browser/trunk/libs/proto/test/toy_spirit2.cpp#L20"><span class="icon">​</span>toy_spirit2.cpp</a> </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Eric Niebler</dc:creator> <pubDate>Sat, 24 Oct 2009 14:28:03 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3553#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3553#comment:4</guid> <description> <p> But the argument order for fusion::fold's binary function won't be changing until the next version of Boost, right? Have you testing this patch with Boost 1.40? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Sat, 24 Oct 2009 15:08:08 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3553#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3553#comment:5</guid> <description> <blockquote> <p> But the argument order for fusion::fold's binary function won't be changing until the next version of Boost, right? </p> </blockquote> <p> No, I just committed this patch to the trunk and I will commit it to the 1.42 release branch. This patch should not affect 1.41. </p> <blockquote> <p> Have you testing this patch with Boost 1.40? </p> </blockquote> <p> I did test this patch with the HEAD of the trunk. I assumed if a proto snapshot is that up-to-date that it contains this patch, there will also be an up-to-date snapshot of Fusion available, or (due to whatever reasons) Boost &lt; 1.35 will be used. Is this assumption incorrect? </p> <p> I think its ok to apply the patch so the trunk is not broken. Once BOOST_VERSION is set to 104200, I will create another patch to change the </p> <pre class="wiki">#if BOOST_VERSION &lt; 103500 </pre><p> in the functors to </p> <pre class="wiki">#if BOOST_VERSION &lt; 104200 </pre><p> Is that OK for you? </p> <p> I am sorry for any inconvenience caused. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Christopher Schmidt</dc:creator> <pubDate>Sat, 24 Oct 2009 15:10:05 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3553#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3553#comment:6</guid> <description> <p> Oh, I did not log in. The last two "anonymous" posts are mine. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Eric Niebler</dc:creator> <pubDate>Mon, 26 Oct 2009 14:14:23 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/3553#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/3553#comment:7</guid> <description> <p> The goal with the version checks is so that newer versions of Proto can work with older versions of Boost. That's arguably not that important now that Proto is an official part of Boost and has been for a while. Please make the change without any version checks. I'll go through and remove all other such version checks. That code is untested and likely broken anyway. </p> <p> Thanks. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Eric Niebler</dc:creator> <pubDate>Mon, 26 Oct 2009 15:15:12 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/3553#comment:8 https://svn.boost.org/trac10/ticket/3553#comment:8 <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/57159" title="accomodate recent change to fusion::fold, remove old support for ...">[57159]</a>) accomodate recent change to fusion::fold, remove old support for Doxygen and pre-1.35 Fusion, fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/3553" title="#3553: Bugs: Changeset 57125 broke Proto (closed: fixed)">#3553</a> </p> Ticket