Переглянути джерело

disable yet another warning

Steffen Jaeckel 8 роки тому
батько
коміт
048cbc55b0
1 змінених файлів з 3 додано та 0 видалено
  1. 3 0
      makefile_include.mk

+ 3 - 0
makefile_include.mk

@@ -92,6 +92,9 @@ endif # COMPILE_DEBUG
 ifneq ($(findstring clang,$(CC)),)
 CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header
 endif
+ifeq ($(PLATFORM), Darwin)
+CFLAGS += -Wno-nullability-completeness
+endif
 
 
 GIT_VERSION := $(shell [ -e .git ] && { printf git- ; git describe --tags --always --dirty ; } || echo $(VERSION))