Skip to content

Commit e879be1

Browse files
committed
Merge pull request jdg#169 from nanoant/patch/fix-xcode5-warnings
Patch/fix xcode5 warnings
2 parents bb4a35b + 65ecd91 commit e879be1

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

Demo/HudDemo.xcodeproj/project.pbxproj

100755100644
File mode changed.

MBProgressHUD.h

100755100644
File mode changed.

MBProgressHUD.m

100755100644
File mode changed.

MBProgressHUD.xcodeproj/project.pbxproj

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,9 @@
159159
isa = XCBuildConfiguration;
160160
buildSettings = {
161161
ALWAYS_SEARCH_USER_PATHS = NO;
162-
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
163162
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
164163
CLANG_CXX_LIBRARY = "libc++";
164+
CLANG_WARN_BOOL_CONVERSION = YES;
165165
CLANG_WARN_CONSTANT_CONVERSION = YES;
166166
CLANG_WARN_EMPTY_BODY = YES;
167167
CLANG_WARN_ENUM_CONVERSION = YES;
@@ -177,10 +177,14 @@
177177
);
178178
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
179179
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
180+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
180181
GCC_WARN_ABOUT_RETURN_TYPE = YES;
182+
GCC_WARN_UNDECLARED_SELECTOR = YES;
181183
GCC_WARN_UNINITIALIZED_AUTOS = YES;
184+
GCC_WARN_UNUSED_FUNCTION = YES;
182185
GCC_WARN_UNUSED_VARIABLE = YES;
183186
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
187+
ONLY_ACTIVE_ARCH = YES;
184188
SDKROOT = iphoneos;
185189
};
186190
name = Debug;
@@ -189,9 +193,9 @@
189193
isa = XCBuildConfiguration;
190194
buildSettings = {
191195
ALWAYS_SEARCH_USER_PATHS = NO;
192-
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
193196
CLANG_CXX_LANGUAGE_STANDARD = "c++0x";
194197
CLANG_CXX_LIBRARY = "libc++";
198+
CLANG_WARN_BOOL_CONVERSION = YES;
195199
CLANG_WARN_CONSTANT_CONVERSION = YES;
196200
CLANG_WARN_EMPTY_BODY = YES;
197201
CLANG_WARN_ENUM_CONVERSION = YES;
@@ -200,8 +204,11 @@
200204
COPY_PHASE_STRIP = YES;
201205
GCC_C_LANGUAGE_STANDARD = gnu99;
202206
GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
207+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
203208
GCC_WARN_ABOUT_RETURN_TYPE = YES;
209+
GCC_WARN_UNDECLARED_SELECTOR = YES;
204210
GCC_WARN_UNINITIALIZED_AUTOS = YES;
211+
GCC_WARN_UNUSED_FUNCTION = YES;
205212
GCC_WARN_UNUSED_VARIABLE = YES;
206213
IPHONEOS_DEPLOYMENT_TARGET = 3.0;
207214
SDKROOT = iphoneos;

0 commit comments

Comments
 (0)