Permalink
Browse files

Updated project for Xcode 4 and LLVM compiler, style tweak for LLVM.

  • Loading branch information...
1 parent 8a56b33 commit f3e8b8116faaa4b8cf2c715fd62d711db9fc9710 @nfarina committed Feb 4, 2011
View
@@ -131,7 +131,8 @@ @implementation SMXMLDocument
@synthesize root;
- (id)initWithData:(NSData *)data {
- if ([super init]) {
+ self = [super init];
+ if (self) {
NSXMLParser *parser = [[[NSXMLParser alloc] initWithData:data] autorelease];
[parser setDelegate:self];
[parser setShouldProcessNamespaces:YES];
@@ -198,6 +198,7 @@
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_C_LANGUAGE_STANDARD = c99;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
PREBINDING = NO;
@@ -212,6 +213,7 @@
ARCHS = "$(ARCHS_STANDARD_32_BIT)";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
GCC_C_LANGUAGE_STANDARD = c99;
+ GCC_VERSION = com.apple.compilers.llvm.clang.1_0;
GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<Workspace
+ version = "1.0">
+ <FileRef
+ location = "self:XMLDocumentSamples.xcodeproj">
+ </FileRef>
+</Workspace>

0 comments on commit f3e8b81

Please sign in to comment.