From 5ac47f792e06091ae96bc30feb7d708ee5e077b1 Mon Sep 17 00:00:00 2001 From: Joseph Heenan Date: Wed, 25 Feb 2015 15:13:14 +0000 Subject: iOS: Disable empty body warning This silences this warning: thirdparty/jbig2dec/jbig2_text.c:899:73: warning: for loop has empty body [-Wempty-body] for (SBSYMCODELEN = 0; (1 << SBSYMCODELEN) < SBNUMSYMS; SBSYMCODELEN++); ^ thirdparty/jbig2dec/jbig2_text.c:899:73: note: put the semicolon on a separate line to silence this warning --- platform/ios/build_libs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'platform/ios/build_libs.sh') diff --git a/platform/ios/build_libs.sh b/platform/ios/build_libs.sh index 4882575b..77d1406a 100644 --- a/platform/ios/build_libs.sh +++ b/platform/ios/build_libs.sh @@ -14,7 +14,7 @@ fi export OS=ios export build=$(echo $CONFIGURATION | tr A-Z a-z) -FLAGS="-Wno-unused-function" +FLAGS="-Wno-unused-function -Wno-empty-body" for A in $ARCHS do FLAGS="$FLAGS -arch $A" -- cgit v1.2.3