Skip to content

Commit 490e8e0

Browse files
kwagyemandpgeorge
authored andcommitted
extmod/extmod.mk: Disable uninitialized warnings in kf_rem_pio2.c.
GCC 13.2 thinks that fq is uninitialized. Signed-off-by: Kwabena W. Agyeman <[email protected]>
1 parent 16c6bc4 commit 490e8e0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

extmod/extmod.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ SRC_LIB_LIBM_C += $(addprefix lib/libm/,\
107107
SRC_LIB_LIBM_SQRT_SW_C += lib/libm/ef_sqrt.c
108108
SRC_LIB_LIBM_SQRT_HW_C += lib/libm/thumb_vfp_sqrtf.c
109109

110+
# Disable warnings in libm.
111+
$(BUILD)/lib/libm/kf_rem_pio2.o: CFLAGS += -Wno-maybe-uninitialized
112+
110113
# Double-precision math library.
111114
SRC_LIB_LIBM_DBL_C += $(addprefix lib/libm_dbl/,\
112115
__cos.c \

0 commit comments

Comments
 (0)