Skip to content

Commit 1ecc548

Browse files
cdwilsondpgeorge
authored andcommitted
extmod/extmod.mk: Suppress deprecated-non-prototype warning.
Signed-off-by: Chris Wilson <chris@cgnd.dev>
1 parent a9fc034 commit 1ecc548

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extmod/extmod.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ SRC_THIRDPARTY_C += $(addprefix $(BTREE_DIR)/,\
294294
CFLAGS_EXTMOD += -DMICROPY_PY_BTREE=1
295295
# we need to suppress certain warnings to get berkeley-db to compile cleanly
296296
# 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)
297+
$(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)
298298
$(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
299299
endif
300300

0 commit comments

Comments
 (0)