Skip to content

Commit

Permalink
extmod/extmod.mk: Suppress deprecated-non-prototype warning.
Browse files Browse the repository at this point in the history
Signed-off-by: Chris Wilson <chris@cgnd.dev>
  • Loading branch information
cdwilson authored and dpgeorge committed May 19, 2023
1 parent a9fc034 commit 1ecc548
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extmod/extmod.mk
Expand Up @@ -294,7 +294,7 @@ SRC_THIRDPARTY_C += $(addprefix $(BTREE_DIR)/,\
CFLAGS_EXTMOD += -DMICROPY_PY_BTREE=1
# we need to suppress certain warnings to get berkeley-db to compile cleanly
# and we have separate BTREE_DEFS so the definitions don't interfere with other source code
$(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)
$(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
endif

Expand Down

0 comments on commit 1ecc548

Please sign in to comment.