Boost C++ Libraries: Ticket #2297: Workaround for GCC bug https://svn.boost.org/trac10/ticket/2297 <p> This patch works around <a class="ext-link" href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28088"><span class="icon">​</span>http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28088</a>, simplifies the code, and <em>ought</em> to speed up compilation a bit into the bargain by instantiating fewer templates. However, whether it breaks on any compilers other than GCC remains to be seen. </p> <p> Preprocessed headers need to be regenerated, of course. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2297 Trac 1.4.3 Dave Abrahams Mon, 08 Sep 2008 14:52:53 GMT attachment set https://svn.boost.org/trac10/ticket/2297 https://svn.boost.org/trac10/ticket/2297 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">template_arity.patch</span> </li> </ul> <p> The correct improved patch </p> Ticket Joel Falcou Sun, 10 Apr 2011 07:13:25 GMT <link>https://svn.boost.org/trac10/ticket/2297#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2297#comment:1</guid> <description> <p> Is this patch still valid ? I applied it to my local trunk and tests passes. Now, is it ok to commit it to trunk and wait for a test suite to cycle to see if other compilers accept it ? If not what is the proper protocol to test patches like this ? </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel Falcou</dc:creator> <pubDate>Sun, 10 Apr 2011 09:59:25 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2297#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2297#comment:2</guid> <description> <p> OK after applied it and regenerating the preprocessed header I have exactly one failure in the partition.cpp test as mpl::modulus tries to extract ::tag from arg&lt;1&gt;. </p> <p> I'll investigate further </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Aleksey Gurtovoy</dc:creator> <pubDate>Mon, 11 Apr 2011 08:28:20 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/2297#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2297#comment:3</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/2297#comment:1" title="Comment 1">jfalcou</a>: </p> <blockquote class="citation"> <p> Is this patch still valid ? I applied it to my local trunk and tests passes. Now, is it ok to commit it to trunk and wait for a test suite to cycle to see if other compilers accept it ? If not what is the proper protocol to test patches like this ? </p> </blockquote> <p> Testing locally on a couple of compilers and committing to the trunk to see if anything else breaks is fine. </p> </description> <category>Ticket</category> </item> </channel> </rss>