This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Joshua.J.Cogliati,, gustavotemple, jrincayc, python-dev, vstinner
Date 2015-03-12.15:58:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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:

It suggests to use the following code:

#ifdef __cplusplus
#include <atomic>
using namespace std;
#include <stdatomic.h>

I don't know if it works.
Date User Action Args
2015-03-12 15:58:31vstinnersetrecipients: + vstinner, jrincayc, python-dev, Joshua.J.Cogliati,, gustavotemple
2015-03-12 15:58:31vstinnersetmessageid: <>
2015-03-12 15:58:31vstinnerlinkissue23644 messages
2015-03-12 15:58:31vstinnercreate