[New-bugs-announce] [issue46670] Build Python with -Wundef: don't use undefined macros
STINNER Victor
report at bugs.python.org
Sun Feb 6 18:52:36 EST 2022
New submission from STINNER Victor <vstinner at python.org>:
Building Python with "gcc -Wundef" emits many warnings about usage of undefined macros. If a macro is not defined, it is equal to 0.
The problem is that a macro can be undefined because of a missing #include, or because of a typo in its name, or because "#ifdef MACRO" should be used instead of "#if MACRO". It can hide bugs.
I plan to fix these warnings.
----------
components: Build
messages: 412690
nosy: vstinner
priority: normal
severity: normal
status: open
title: Build Python with -Wundef: don't use undefined macros
versions: Python 3.11
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46670>
_______________________________________
More information about the New-bugs-announce
mailing list