Re: [Boost-bugs] [Boost C++ Libraries] #6325: InterlockedExchangeAdd improperly identified as managed code.

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6325: InterlockedExchangeAdd improperly identified as managed code.
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-24 03:15:34


#6325: InterlockedExchangeAdd improperly identified as managed code.
---------------------------------------+------------------------------------
  Reporter: filmorependrgn@… | Owner: chris_kohlhoff
      Type: Support Requests | Status: new
 Milestone: To Be Determined | Component: asio
   Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords: InterlockedExchangeAdd
---------------------------------------+------------------------------------

Comment (by chris_kohlhoff):

 Can you please confirm whether this patch would fix the issue (without
 breaking anything else)?

 {{{
 Index: boost/asio/detail/pop_options.hpp
 ===================================================================
 --- boost/asio/detail/pop_options.hpp (revision 84379)
 +++ boost/asio/detail/pop_options.hpp (working copy)
 @@ -94,5 +94,8 @@

  # pragma warning (pop)
  # pragma pack (pop)
 +# if (_MSC_VER >= 1300)
 +# pragma managed (pop)
 +# endif

  #endif
 Index: boost/asio/detail/push_options.hpp
 ===================================================================
 --- boost/asio/detail/push_options.hpp (revision 84379)
 +++ boost/asio/detail/push_options.hpp (working copy)
 @@ -123,5 +123,8 @@
  # if !defined(_MT)
  # error Multithreaded RTL must be selected.
  # endif // !defined(_MT)
 +# if (_MSC_VER >= 1300)
 +# pragma managed (push, off)
 +# endif

  #endif
 }}}

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/6325#comment:3>
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:13 UTC