Author lbianc
Recipients Arfrever, Joshua.J.Cogliati, Vitor.de.Lima, gustavotemple, jrincayc, lbianc, python-dev, vstinner
Date 2015-03-16.16:49:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426524585.86.0.713637662928.issue23644@psf.upfronthosting.co.za>
In-reply-to
Content
> #define _Atomic(T) std::atomic<T>
Does not work, since there are definitions like "memory_order_relaxed" that are in std.

I tested the other one, and it works fine:
>#ifdef __cplusplus
>extern "C" {
>#if defined(HAVE_STD_ATOMIC)
>using namespace std;
>#endif
>#endif

@haypo, what do you think?
History
Date User Action Args
2015-03-16 16:49:45lbiancsetrecipients: + lbianc, vstinner, Arfrever, jrincayc, python-dev, Joshua.J.Cogliati, Vitor.de.Lima, gustavotemple
2015-03-16 16:49:45lbiancsetmessageid: <1426524585.86.0.713637662928.issue23644@psf.upfronthosting.co.za>
2015-03-16 16:49:45lbianclinkissue23644 messages
2015-03-16 16:49:45lbianccreate