Boost C++ Libraries: Ticket #304: atomic_count_gcc.hpp does not compile on cygwin gcc 3.3.3 https://svn.boost.org/trac10/ticket/304 <pre class="wiki">this operator long() const { return __exchange_and_add(&amp;value_, 0); } causes error because on cygwin __exchange_and_add() is declared as: static inline _Atomic_word __attribute__ ((__unused__)) __exchange_and_add (volatile _Atomic_word *__mem, int __val); value_ must be made mutable or cast must be added in operator long() const. </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/304 Trac 1.4.3 Peter Dimov Wed, 03 Nov 2004 12:40:21 GMT status changed https://svn.boost.org/trac10/ticket/304#comment:1 https://svn.boost.org/trac10/ticket/304#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> Ticket