Message237955
The problem is more general than Python: #include <stdatomic.h> fails in C++. Try to compiled atomic.cpp with g++, you will get the same error.
The following bug report in the glibc has been closed as WONTFIX:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=60932
It suggests to use the following code:
#ifdef __cplusplus
#include <atomic>
using namespace std;
#else
#include <stdatomic.h>
#endif
I don't know if it works. |
|
Date |
User |
Action |
Args |
2015-03-12 15:58:31 | vstinner | set | recipients:
+ vstinner, jrincayc, python-dev, Joshua.J.Cogliati, Vitor.de.Lima, gustavotemple |
2015-03-12 15:58:31 | vstinner | set | messageid: <1426175911.23.0.738275359066.issue23644@psf.upfronthosting.co.za> |
2015-03-12 15:58:31 | vstinner | link | issue23644 messages |
2015-03-12 15:58:31 | vstinner | create | |
|