Truly truly fix #249, fix #251

This commit is contained in:
Lior Halphon 2020-04-24 21:06:44 +03:00
parent 198942b273
commit 8ac029d3fe

View File

@ -87,11 +87,11 @@ ifeq ($(PLATFORM),Darwin)
OPEN_DIALOG = OpenDialog/cocoa.m OPEN_DIALOG = OpenDialog/cocoa.m
endif endif
# This must come first because GCC is special
CFLAGS += -Werror=partial-availability
# These must come before the -Wno- flags # These must come before the -Wno- flags
CFLAGS += -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option CFLAGS += -Werror -Wall -Wno-unknown-warning -Wno-unknown-warning-option
CFLAGS += -Wno-nonnull -Wno-unused-result -Wno-strict-aliasing -Wno-multichar -Wno-int-in-bool-context
CFLAGS += -Werror=partial-availability -Wno-nonnull -Wno-unused-result -Wno-strict-aliasing -Wno-multichar -Wno-int-in-bool-context
CFLAGS += -std=gnu11 -D_GNU_SOURCE -DVERSION="$(VERSION)" -I. -D_USE_MATH_DEFINES CFLAGS += -std=gnu11 -D_GNU_SOURCE -DVERSION="$(VERSION)" -I. -D_USE_MATH_DEFINES
ifeq (,$(PKG_CONFIG)) ifeq (,$(PKG_CONFIG))