Boost C++ Libraries: Ticket #12748: Boost.Test defines a variable called VERSION https://svn.boost.org/trac10/ticket/12748 <p> In <a class="ext-link" href="https://github.com/boostorg/test/commit/86bcffea6dfb2513142c42721bf2af3e80ea068d"><span class="icon">​</span>commit 86bcffe</a> Boost.Test was changed to define a variable called <code>VERSION</code>. This collides with a <code>#define VERSION</code> usually defined by the GNU Autotools. </p> <p> My workaround at this point is to <code>#undef VERSION</code> before <code>#include</code>ing Boost.Test but that's not tractable (I'm not gonna chase down every single use of Boost.Test in our large codebase). </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/12748 Trac 1.4.3 Adam Majer <amajer@…> Tue, 17 Jan 2017 11:37:48 GMT <link>https://svn.boost.org/trac10/ticket/12748#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12748#comment:1</guid> <description> <p> This is a pretty nasty regression. </p> <p> Generally, it is a terrible idea to use ALL CAPITAL as variable names. These are reserved, by convention, to be used as #defines. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Mon, 30 Jan 2017 08:16:35 GMT</pubDate> <title>milestone changed https://svn.boost.org/trac10/ticket/12748#comment:2 https://svn.boost.org/trac10/ticket/12748#comment:2 <ul> <li><strong>milestone</strong> <span class="trac-field-old">To Be Determined</span> → <span class="trac-field-new">Boost 1.64.0</span> </li> </ul> <p> Fixed in <code>origin/topic/12748-VERSION-macro-clashes</code>. </p> Ticket Raffi Enficiaud Mon, 30 Jan 2017 08:16:56 GMT owner changed https://svn.boost.org/trac10/ticket/12748#comment:3 https://svn.boost.org/trac10/ticket/12748#comment:3 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Gennadiy Rozental</span> to <span class="trac-author">Raffi Enficiaud</span> </li> </ul> Ticket Raffi Enficiaud Wed, 01 Mar 2017 11:32:26 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/12748#comment:4 https://svn.boost.org/trac10/ticket/12748#comment:4 <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> Merged to master, rev a2b73f5d7568e69162dfac213fab87eea0021ec5 </p> Ticket anonymous Fri, 04 Aug 2017 13:09:47 GMT <link>https://svn.boost.org/trac10/ticket/12748#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12748#comment:5</guid> <description> <p> Are those variables part of the public API of Boost.Test? </p> <p> My concern is whether backporting the patch to Fedora's boost-1.63.0 would cause an API incompatibility between Fedora's package and the official Boost 1.63.0 release. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Wed, 09 Aug 2017 17:45:04 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/12748#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/12748#comment:6</guid> <description> <p> Also, why are those variables non-const?! </p> </description> <category>Ticket</category> </item> </channel> </rss>