[Boost-bugs] [Boost C++ Libraries] #7930: Error C2874 occurred at bm_traits.hpp on Visual Studio 2012

Subject: [Boost-bugs] [Boost C++ Libraries] #7930: Error C2874 occurred at bm_traits.hpp on Visual Studio 2012
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-01-26 07:41:01


#7930: Error C2874 occurred at bm_traits.hpp on Visual Studio 2012
------------------------------+---------------------------------------------
 Reporter: anonymous | Owner: marshall
     Type: Bugs | Status: new
Milestone: To Be Determined | Component: algorithm
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 When boyer_moore header is included as the following,[[BR]]
 this error occurs on Visual Studio 2012, but it doesn't occur on Visual
 Studio 2005 nor Visual Studio 2010.[[BR]]
 (I don't check on Visual Studio 2008..)
 {{{
 #include <boost/algorithm/searching/boyer_moore.hpp>
 }}}

 ::boost::unordered_map in boost/tr1/unordered_map.hpp is in collision
 [[BR]]
 with definition of '''skip_map''' in
 boost/algorithm/searching/detail/bm_traits.hpp

 Detail of Compiler Error C2874 is the following.[[BR]]
 http://msdn.microsoft.com/en-
 us/library/vstudio/fe499f52%28v=vs.110%29.aspx

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