This is an automated email from the ASF dual-hosted git repository.
acassis pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 8e00b4d67 interpreters/python: Disable `no-maybe-uninitialized` warning
8e00b4d67 is described below
commit 8e00b4d672f2eeeb4b8041401ced4eab86af4167
Author: Tiago Medicci <[email protected]>
AuthorDate: Wed Jul 1 15:59:06 2026 -0300
interpreters/python: Disable `no-maybe-uninitialized` warning
This commit disables the `no-maybe-uninitialized` warning because
it's wrongly evaluated after increasing the optimization level of
the Python's library.
Signed-off-by: Tiago Medicci <[email protected]>
---
interpreters/python/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/interpreters/python/Makefile b/interpreters/python/Makefile
index bda257932..c3acd5188 100644
--- a/interpreters/python/Makefile
+++ b/interpreters/python/Makefile
@@ -56,7 +56,7 @@ CFLAGS += -Wno-shadow -Wno-undef -Wno-format
-Wno-builtin-macro-redefined
CFLAGS += -Wno-type-limits -Wno-implicit-fallthrough -Wno-char-subscripts
CFLAGS += -Wno-sign-compare -Wno-unused-const-variable -Wno-unused-function
CFLAGS += -Wno-unused-variable -Wno-overflow -Wno-unused-but-set-variable
-CFLAGS += -Wno-strict-prototypes -nostdlib
+CFLAGS += -Wno-strict-prototypes -Wno-maybe-uninitialized -nostdlib
DEPPATH += --dep-path $(CPYTHON_UNPACKNAME)$(DELIM)Programs
VPATH += :$(CPYTHON_UNPACKNAME)$(DELIM)Programs