Skip to content

Commit 74f5237

Browse files
committed
extmod/extmod.mk: Disable maybe-uninitialized warnings in libm_dbl.
These warnings are emitted by arm-none-eabi-gcc 14.1.0 with -O2 enabled. Signed-off-by: Damien George <[email protected]>
1 parent 880f7bc commit 74f5237

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

extmod/extmod.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ SRC_LIB_LIBM_DBL_SQRT_HW_C += lib/libm_dbl/thumb_vfp_sqrt.c
167167

168168
# Too many warnings in libm_dbl, disable for now.
169169
$(BUILD)/lib/libm_dbl/%.o: CFLAGS += -Wno-double-promotion -Wno-float-conversion
170+
$(BUILD)/lib/libm_dbl/__rem_pio2_large.o: CFLAGS += -Wno-maybe-uninitialized
170171

171172
################################################################################
172173
# VFS FAT FS

0 commit comments

Comments
 (0)