Skip to content

Commit d680d41

Browse files
authored
Merge pull request #6 from scgbckbone/btree_compile_macos
suppress btree warnings when compiling the unix port on macOS
2 parents abf88c9 + 8c60584 commit d680d41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

extmod/extmod.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ SRC_MOD += $(addprefix $(BTREE_DIR)/,\
225225
CFLAGS_MOD += -DMICROPY_PY_BTREE=1
226226
# we need to suppress certain warnings to get berkeley-db to compile cleanly
227227
# and we have separate BTREE_DEFS so the definitions don't interfere with other source code
228-
$(BUILD)/$(BTREE_DIR)/%.o: CFLAGS += -Wno-old-style-definition -Wno-sign-compare -Wno-unused-parameter $(BTREE_DEFS)
228+
$(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)
229229
$(BUILD)/extmod/modbtree.o: CFLAGS += $(BTREE_DEFS)
230230
endif
231231

0 commit comments

Comments
 (0)