[vlc-commits] contrib: Enable partial availability error for Xcode projects
David Fuhrmann
git at videolan.org
Sat Mar 3 11:17:56 CET 2018
vlc/vlc-3.0 | branch: master | David Fuhrmann <dfuhrmann at videolan.org> | Sat Mar 3 09:43:50 2018 +0100| [6321a8e3c005fa8dbe4c3f16923b4ddf7b1ab509] | committer: David Fuhrmann
contrib: Enable partial availability error for Xcode projects
This makes sure Xcode projects also error out if partial
availability is not correctly annotated.
See upstream 3a2d0c820cb1dc97a0816a0b6954e42909c4e965.
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=6321a8e3c005fa8dbe4c3f16923b4ddf7b1ab509
---
contrib/src/main.mak | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/src/main.mak b/contrib/src/main.mak
index 0398a5ad1a..4c29643f6c 100644
--- a/contrib/src/main.mak
+++ b/contrib/src/main.mak
@@ -125,7 +125,7 @@ EXTRA_CFLAGS += -m32
EXTRA_LDFLAGS += -m32
endif
-XCODE_FLAGS = MACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION) -sdk macosx$(OSX_VERSION) -arch $(ARCH)
+XCODE_FLAGS = MACOSX_DEPLOYMENT_TARGET=$(MIN_OSX_VERSION) -sdk macosx$(OSX_VERSION) -arch $(ARCH) WARNING_CFLAGS=-Werror=partial-availability
endif
More information about the vlc-commits
mailing list