New submission from STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue46670>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to