Closed as not planned
Description
Bug report
Checklist
- I am confident this is a bug in CPython, not a bug in a third-party project
- I have searched the CPython issue tracker,
and am confident this bug has not been reported before
CPython versions tested on:
3.12
Operating systems tested on:
Linux
Output from running 'python -VV' on the command line:
3.12.0rc1
A clear and concise description of the bug:
This looks like a new instance of #67832.
@vstinner This seems to occur in 3.12 when importing e.g. pycore_dict.h
in a C++ module https://github.com/P403n1x87/echion/actions/runs/5775912109/job/16065738879
In file included from /opt/hostedtoolcache/Python/3.12.0-rc.1/x64/include/python3.12/internal/pycore_atomic.h:15,
from /opt/hostedtoolcache/Python/3.12.0-rc.1/x64/include/python3.12/internal/pycore_runtime.h:12,
from /opt/hostedtoolcache/Python/3.12.0-rc.1/x64/include/python3.12/internal/pycore_dict.h:13,
from ./echion/mirrors.h:14,
from echion/coremodule.cc:29:
/usr/lib/gcc/x86_64-linux-gnu/9/include/stdatomic.h: At global scope:
/usr/lib/gcc/x86_64-linux-gnu/9/include/stdatomic.h:40:9: error: ‘_Atomic’ does not name a type
40 | typedef _Atomic _Bool atomic_bool;
| ^~~~~~~
The same job with clang on OSX doesn't show the same issue: https://github.com/P403n1x87/echion/actions/runs/5775912109/job/16065739714.