[issue23644] g++ module compile fails with ‘_Atomic’ does not name a type

2015-03-16 Thread Leonardo Bianconi
Leonardo Bianconi added the comment: > #define _Atomic(T) std::atomic 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_ATOMI

[issue23644] g++ module compile fails with ‘_Atomic’ does not name a type

2015-03-16 Thread Leonardo Bianconi
Leonardo Bianconi added the comment: @haypo For adding compatibility for atomics based on @Joshua.J.Cogliati change, I propose: #ifndef Py_LIMITED_API #ifndef Py_ATOMIC_H #define Py_ATOMIC_H #include "dynamic_annotations.h" #include "pyconfig.h" #if defined(HAV

[issue22038] Implement atomic operations on non-x86 platforms

2015-03-12 Thread Leonardo Bianconi
Changes by Leonardo Bianconi : -- nosy: +lbianc ___ Python tracker <http://bugs.python.org/issue22038> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23644] swig compile fails with ‘_Atomic’ does not name a type

2015-03-12 Thread Leonardo Bianconi
Changes by Leonardo Bianconi : -- nosy: +lbianc ___ Python tracker <http://bugs.python.org/issue23644> ___ ___ Python-bugs-list mailing list Unsubscribe: