[Boost-bugs] [Boost C++ Libraries] #12748: Boost.Test defines a variable called VERSION

Subject: [Boost-bugs] [Boost C++ Libraries] #12748: Boost.Test defines a variable called VERSION
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-11 09:18:29


#12748: Boost.Test defines a variable called VERSION
-----------------------------------------+---------------------
 Reporter: Benoit Sigoure <tsunanet@…> | Owner: rogeeff
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: test
  Version: Boost 1.63.0 | Severity: Problem
 Keywords: |
-----------------------------------------+---------------------
 In
 [https://github.com/boostorg/test/commit/86bcffea6dfb2513142c42721bf2af3e80ea068d
 commit 86bcffe] Boost.Test was changed to define a variable called
 {{{VERSION}}}. This collides with a {{{#define VERSION}}} usually defined
 by the GNU Autotools.

 My workaround at this point is to {{{#undef VERSION}}} before
 {{{#include}}}ing Boost.Test but that's not tractable (I'm not gonna chase
 down every single use of Boost.Test in our large codebase).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/12748>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC