1 parent a9fc034 commit 1ecc548Copy full SHA for 1ecc548
1 file changed
extmod/extmod.mk
@@ -294,7 +294,7 @@ SRC_THIRDPARTY_C += $(addprefix $(BTREE_DIR)/,\
294
CFLAGS_EXTMOD += -DMICROPY_PY_BTREE=1
295
# we need to suppress certain warnings to get berkeley-db to compile cleanly
296
# and we have separate BTREE_DEFS so the definitions don't interfere with other source code
297
-$(BUILD)/$(BTREE_DIR)/%.o: CFLAGS += -Wno-old-style-definition -Wno-sign-compare -Wno-unused-parameter $(BTREE_DEFS)
+$(BUILD)/$(BTREE_DIR)/%.o: CFLAGS += -Wno-old-style-definition -Wno-sign-compare -Wno-unused-parameter -Wno-deprecated-non-prototype -Wno-unknown-warning-option $(BTREE_DEFS)
298
$(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
299
endif
300
0 commit comments