Re: [Boost-bugs] [Boost C++ Libraries] #6060: Warning generated in SNC C++ compiler by use of __sync_fetch_and_add

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6060: Warning generated in SNC C++ compiler by use of __sync_fetch_and_add
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-11-07 18:32:56


#6060: Warning generated in SNC C++ compiler by use of __sync_fetch_and_add
-----------------------------------------------+----------------------------
  Reporter: Fernando Diaz <fdiaza@…> | Owner: pdimov
      Type: Patches | Status: new
 Milestone: To Be Determined | Component: smart_ptr
   Version: Boost 1.47.0 | Severity: Optimization
Resolution: | Keywords:
-----------------------------------------------+----------------------------

Comment (by pdimov):

 They should be interchangeable, but the first one has already been tested
 and the replacement has not, so I'm a bit reluctant to change it
 unconditionally. Have you tried reporting this as a problem to the SNC
 folks? I hear that they're quite responsive. If they don't want to
 eliminate the warning, we could add {{{__sync_fetch_and_sub}}} in an
 {{{#ifdef __SNC__}}}.

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