Message238223
> #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? |
|
Date |
User |
Action |
Args |
2015-03-16 16:49:45 | lbianc | set | recipients:
+ lbianc, vstinner, Arfrever, jrincayc, python-dev, Joshua.J.Cogliati, Vitor.de.Lima, gustavotemple |
2015-03-16 16:49:45 | lbianc | set | messageid: <1426524585.86.0.713637662928.issue23644@psf.upfronthosting.co.za> |
2015-03-16 16:49:45 | lbianc | link | issue23644 messages |
2015-03-16 16:49:45 | lbianc | create | |
|