[Boost-bugs] [Boost C++ Libraries] #5235: uuid unneccasary test header upsets clang

Subject: [Boost-bugs] [Boost C++ Libraries] #5235: uuid unneccasary test header upsets clang
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-02-26 12:26:35


#5235: uuid unneccasary test header upsets clang
-------------------------------------+--------------------------------------
 Reporter: chrisj | Owner: atompkins
     Type: Patches | Status: new
Milestone: To Be Determined | Component: uuid
  Version: Boost Development Trunk | Severity: Problem
 Keywords: |
-------------------------------------+--------------------------------------
 uuid has a test header called "lightweight_test_ex.hpp", which defines
 test_ne_impl. I assume this was an extension to the boost
 lightweight_test, but now it is in lightweight_test.hpp.

 This makes the header unnecessary, but further clang (correctly) rejects
 the fact that test_ne_impl is defined twice.

 This patch removes the header, and references to it. This fixes clang, and
 doesn't break g++ (I didn't test any other compilers, but I can't see why
 the would have a problem).

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5235>
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:05 UTC