You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./Modules/_testcapimodule.c:30:4: error: #error "The public headers should not include <stdbool.h>, see gh-48924"
The guard sits after #include <sys/sysctl.h>, and NetBSD's sys/sysctl.h legitimately includes <stdbool.h>, so it fires falsely. It should be moved above the system includes.
The comment also references the wrong issue: gh-90904 was meant (mangled bpo→gh conversion of bpo-46748).
Bug report
Building fails on NetBSD:
The guard sits after
#include <sys/sysctl.h>, and NetBSD'ssys/sysctl.hlegitimately includes<stdbool.h>, so it fires falsely. It should be moved above the system includes.The comment also references the wrong issue: gh-90904 was meant (mangled bpo→gh conversion of bpo-46748).
Linked PRs