-
-
Notifications
You must be signed in to change notification settings - Fork 30.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New GitHub warning: 'ERROR': macro redefinition
#100213
Comments
OOI, do we know where |
It is not in sources:
|
Fixed by #100215 |
The "windows.h" header includes "wingdi.h", which defines cpython/Include/internal/pycore_condvar.h Lines 39 to 41 in 985a710
In turn, it's included by "Include/internal/pcore_gil.h", which is included by "Include/internal/pycore_runtime.h", which is included by many files. |
I think that #100010 is the source.
Example: e4ea33b
I think we should do
#undef ERROR
beforehand.Will send a PR!
Linked PRs
ERROR
macro is reported to be implictly redefined #100214The text was updated successfully, but these errors were encountered: