Boost logo

Boost :

From: (noreply_at_[hidden])
Date: 2004-09-23 08:31:30

Bugs item #1033370, was opened at 2004-09-23 16:31
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Erik Latoshek (forester22)
Assigned to: Nobody/Anonymous (nobody)
Summary: atomic_count_gcc.hpp does not compile on cygwin gcc 3.3.3

Initial Comment:
    operator long() const
        return __exchange_and_add(&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

value_ must be made mutable or cast must be added in
operator long() const.


You can respond by visiting:

This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here:
Boost-bugs mailing list

Boost list run by bdawes at, gregod at, cpdaniel at, john at