Boost C++ Libraries: Ticket #2465: Redefinition error on GCC 4.3.2 using template names as variable names. https://svn.boost.org/trac10/ticket/2465 <p> On GCC 4.3.2 the following code snippet causes an error: </p> <pre class="wiki"> namespace ns { template &lt;class T&gt; name { }; name&lt;int&gt; name; // error here, redefining name } </pre><p> The workaround to this is to use the namespace-qualified type name in the template instantiation: </p> <pre class="wiki"> ns::name&lt;int&gt; name; // error goes away </pre><p> Attached is a (trivial) patch that addresses the issue. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2465 Trac 1.4.3 Dean Michael Berris Sun, 02 Nov 2008 17:52:36 GMT attachment set https://svn.boost.org/trac10/ticket/2465 https://svn.boost.org/trac10/ticket/2465 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">boost-date_time-tz_db_base.hpp.patch</span> </li> </ul> <p> Patch to tz_db_base.hpp </p> Ticket smr@… Wed, 05 Nov 2008 04:31:47 GMT <link>https://svn.boost.org/trac10/ticket/2465#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2465#comment:1</guid> <description> <p> This is a duplicate of 1615. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Andrey Semashev</dc:creator> <pubDate>Thu, 13 Nov 2008 17:40:30 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/2465#comment:2 https://svn.boost.org/trac10/ticket/2465#comment:2 <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