Add -Wno-unreachable-code to PCRE in Xcode build

Prevents an annoying warning from the PCRE build
in Xcode
This commit is contained in:
ridiculousfish 2016-12-02 15:48:18 -08:00
parent 15921d37c4
commit 227ba10628

View file

@ -1813,7 +1813,7 @@
SKIP_INSTALL = YES;
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/osx/pcre2 $(SRCROOT)/osx/shared_headers/";
USE_HEADERMAP = NO;
WARNING_CFLAGS = "";
WARNING_CFLAGS = "-Wno-unreachable-code";
};
name = Debug;
};
@ -1839,7 +1839,7 @@
SKIP_INSTALL = YES;
USER_HEADER_SEARCH_PATHS = "$(SRCROOT)/osx/pcre2 $(SRCROOT)/osx/shared_headers/";
USE_HEADERMAP = NO;
WARNING_CFLAGS = "";
WARNING_CFLAGS = "-Wno-unreachable-code";
};
name = Release;
};