Boost logo

Boost :

From: SourceForge.net (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:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1033370&group_id=7586

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:
this
    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
__val);

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

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=107586&aid=1033370&group_id=7586

-------------------------------------------------------
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: http://sf.net/ppc_contest.php
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk