Enabled and fixes some warnings.

This commit is contained in:
Damiano Galassi committed 2014-03-29 08:51:26 +01:00
1 parent a6dde47438
commit 0a85ee301a
13 files changed
+96 -87

No files matched your search

+1 -1
View File
@@ -384,4 +384,4 @@ NSInteger sortMP42Metadata(id ep1, id ep2, void *context)
return [returnArray autorelease]; return [returnArray autorelease];
} }
@end @end
@@ -90,7 +90,7 @@
} }
- (IBAction)removeChapter:(id)sender { - (IBAction)removeChapter:(id)sender {
NSUInteger current_index = [chapterTableView selectedRow]; NSInteger current_index = [chapterTableView selectedRow];
if (current_index < [track chapterCount]) { if (current_index < [track chapterCount]) {
[track removeChapterAtIndex:current_index]; [track removeChapterAtIndex:current_index];
+1 -1
View File
@@ -74,4 +74,4 @@
- (IBAction) selectArtwork: (id) sender; - (IBAction) selectArtwork: (id) sender;
- (IBAction) removeArtwork: (id) sender; - (IBAction) removeArtwork: (id) sender;
@end @end
+7 -7
View File
@@ -537,7 +537,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
- (IBAction) changeMediaKind: (id) sender - (IBAction) changeMediaKind: (id) sender
{ {
uint8_t tagName = [[sender selectedItem] tag]; uint8_t tagName = (uint8_t)[[sender selectedItem] tag];
if (metadata.mediaKind != tagName) { if (metadata.mediaKind != tagName) {
metadata.mediaKind = tagName; metadata.mediaKind = tagName;
@@ -548,7 +548,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
- (IBAction) changecContentRating: (id) sender - (IBAction) changecContentRating: (id) sender
{ {
uint8_t tagName = [[sender selectedItem] tag]; uint8_t tagName = (uint8_t)[[sender selectedItem] tag];
if (metadata.contentRating != tagName) { if (metadata.contentRating != tagName) {
metadata.contentRating = tagName; metadata.contentRating = tagName;
@@ -561,7 +561,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
{ {
uint8_t newValue; uint8_t newValue;
if (sender == gapless) if (sender == gapless)
newValue = [gapless state]; newValue = (uint8_t)[gapless state];
else { else {
newValue = ![gapless state]; newValue = ![gapless state];
[gapless setState:newValue]; [gapless setState:newValue];
@@ -583,9 +583,9 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
- (IBAction) changePodcast: (id) sender - (IBAction) changePodcast: (id) sender
{ {
uint8_t newValue; uint8_t newValue;
if (sender == podcast) if (sender == podcast) {
newValue = [podcast state]; newValue = (uint8_t)[podcast state];
else { } else {
newValue = ![podcast state]; newValue = ![podcast state];
[podcast setState:newValue]; [podcast setState:newValue];
} }
@@ -605,7 +605,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
- (IBAction) changehdVideo: (id) sender - (IBAction) changehdVideo: (id) sender
{ {
uint8_t tagName = [[sender selectedItem] tag]; uint8_t tagName = (uint8_t)[[sender selectedItem] tag];
if (metadata.hdVideo != tagName) { if (metadata.hdVideo != tagName) {
metadata.hdVideo = tagName; metadata.hdVideo = tagName;
+3 -3
View File
@@ -13,7 +13,7 @@
- (void)awakeFromNib - (void)awakeFromNib
{ {
[alternateGroup selectItemAtIndex:track.alternate_group]; [alternateGroup selectItemAtIndex:(NSInteger)track.alternate_group];
_fallbacks = [[NSMutableArray alloc] init]; _fallbacks = [[NSMutableArray alloc] init];
@@ -86,7 +86,7 @@
- (IBAction)setTrackVolume:(id)sender - (IBAction)setTrackVolume:(id)sender
{ {
float value = [sender doubleValue] / 100; float value = [sender floatValue] / 100;
if (track.volume != value) { if (track.volume != value) {
track.volume = value; track.volume = value;
[[[[[self view]window] windowController] document] updateChangeCount:NSChangeDone]; [[[[[self view]window] windowController] document] updateChangeCount:NSChangeDone];
@@ -130,7 +130,7 @@
- (IBAction)setAltenateGroup:(id)sender - (IBAction)setAltenateGroup:(id)sender
{ {
uint8_t tagName = [[sender selectedItem] tag]; NSInteger tagName = [[sender selectedItem] tag];
if (track.alternate_group != tagName) { if (track.alternate_group != tagName) {
track.alternate_group = tagName; track.alternate_group = tagName;
+3 -3
View File
@@ -70,7 +70,7 @@ static NSString *getLevelName(uint8_t level) {
[offsetX setStringValue: [NSString stringWithFormat:@"%d", track.offsetX]]; [offsetX setStringValue: [NSString stringWithFormat:@"%d", track.offsetX]];
[offsetY setStringValue: [NSString stringWithFormat:@"%d", track.offsetY]]; [offsetY setStringValue: [NSString stringWithFormat:@"%d", track.offsetY]];
[alternateGroup selectItemAtIndex:track.alternate_group]; [alternateGroup selectItemAtIndex:(NSInteger)track.alternate_group];
if ([track.format isEqualToString:MP42VideoFormatH264] && track.origProfile && track.origLevel) { if ([track.format isEqualToString:MP42VideoFormatH264] && track.origProfile && track.origLevel) {
[profileLevelUnchanged setTitle:[NSString stringWithFormat:@"Current profile: %@ @ %@", [profileLevelUnchanged setTitle:[NSString stringWithFormat:@"Current profile: %@ @ %@",
@@ -163,7 +163,7 @@ static NSString *getLevelName(uint8_t level) {
if (track.trackWidth != i) { if (track.trackWidth != i) {
if ([preserveAspectRatio state] == NSOnState) { if ([preserveAspectRatio state] == NSOnState) {
track.trackHeight = (track.trackHeight / track.trackWidth) * i; track.trackHeight = (track.trackHeight / track.trackWidth) * i;
[trackHeight setIntegerValue:track.trackHeight]; [trackHeight setIntegerValue:(NSInteger)track.trackHeight];
} }
track.trackWidth = i; track.trackWidth = i;
@@ -227,7 +227,7 @@ static NSString *getLevelName(uint8_t level) {
- (IBAction)setAltenateGroup:(id)sender - (IBAction)setAltenateGroup:(id)sender
{ {
uint8_t tagName = [[sender selectedItem] tag]; NSInteger tagName = [[sender selectedItem] tag];
if (track.alternate_group != tagName) { if (track.alternate_group != tagName) {
track.alternate_group = tagName; track.alternate_group = tagName;
+3 -2
View File
@@ -482,7 +482,7 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
} }
else if ([tableColumn.identifier isEqualToString:@"trackEnabled"]) { else if ([tableColumn.identifier isEqualToString:@"trackEnabled"]) {
if (!(track.enabled == [anObject integerValue])) { if (!(track.enabled == [anObject integerValue])) {
track.enabled = [anObject integerValue]; track.enabled = [anObject boolValue];
[self updateChangeCount:NSChangeDone]; [self updateChangeCount:NSChangeDone];
} }
} }
@@ -770,7 +770,8 @@ objectValueForTableColumn:(NSTableColumn *)tableColumn
for (MP42Track *track in self.mp4.tracks) for (MP42Track *track in self.mp4.tracks)
if ([track isKindOfClass:[MP42VideoTrack class]]) { if ([track isKindOfClass:[MP42VideoTrack class]]) {
int hdVideo = isHdVideo([((MP42VideoTrack *) track) trackWidth], [((MP42VideoTrack *) track) trackHeight]); MP42VideoTrack *videoTrack = (MP42VideoTrack *)track;
int hdVideo = isHdVideo((uint64_t)videoTrack.trackWidth, (uint64_t)videoTrack.trackHeight);
if (hdVideo) if (hdVideo)
[self.mp4.metadata setTag:@(hdVideo) forKey:@"HD Video"]; [self.mp4.metadata setTag:@(hdVideo) forKey:@"HD Video"];
+1 -1
View File
@@ -29,4 +29,4 @@
@end @end
@interface SBQueueOrganizeGroupsAction : NSObject <SBQueueActionProtocol> @interface SBQueueOrganizeGroupsAction : NSObject <SBQueueActionProtocol>
@end @end
+2 -1
View File
@@ -147,7 +147,8 @@
for (MP42Track *track in [item.mp4File tracksWithMediaType:MP42MediaTypeVideo]) for (MP42Track *track in [item.mp4File tracksWithMediaType:MP42MediaTypeVideo])
if ([track isKindOfClass:[MP42VideoTrack class]]) { if ([track isKindOfClass:[MP42VideoTrack class]]) {
int hdVideo = isHdVideo([((MP42VideoTrack *) track) trackWidth], [((MP42VideoTrack *) track) trackHeight]); MP42VideoTrack *videoTrack = (MP42VideoTrack *)track;
int hdVideo = isHdVideo((uint64_t)videoTrack.trackWidth, (uint64_t)videoTrack.trackHeight);
if (hdVideo) if (hdVideo)
[metadata setTag:@(hdVideo) forKey:@"HD Video"]; [metadata setTag:@(hdVideo) forKey:@"HD Video"];
+20 -20
View File
@@ -51,12 +51,12 @@ typedef enum _MAWindowPosition {
@interface MAAttachedWindow : NSWindow { @interface MAAttachedWindow : NSWindow {
NSColor *borderColor; NSColor *borderColor;
float borderWidth; CGFloat borderWidth;
float viewMargin; CGFloat viewMargin;
float arrowBaseWidth; CGFloat arrowBaseWidth;
float arrowHeight; CGFloat arrowHeight;
BOOL hasArrow; BOOL hasArrow;
float cornerRadius; CGFloat cornerRadius;
BOOL drawsRoundCornerBesideArrow; BOOL drawsRoundCornerBesideArrow;
@private @private
@@ -65,7 +65,7 @@ typedef enum _MAWindowPosition {
__weak NSWindow *_window; __weak NSWindow *_window;
NSPoint _point; NSPoint _point;
MAWindowPosition _side; MAWindowPosition _side;
float _distance; CGFloat _distance;
NSRect _viewFrame; NSRect _viewFrame;
BOOL _resizing; BOOL _resizing;
} }
@@ -123,20 +123,20 @@ typedef enum _MAWindowPosition {
// Accessor methods // Accessor methods
- (NSColor *)borderColor; - (NSColor *)borderColor;
- (void)setBorderColor:(NSColor *)value; - (void)setBorderColor:(NSColor *)value;
- (float)borderWidth; - (CGFloat)borderWidth;
- (void)setBorderWidth:(float)value; // See note 1 below. - (void)setBorderWidth:(CGFloat)value; // See note 1 below.
- (float)viewMargin; - (CGFloat)viewMargin;
- (void)setViewMargin:(float)value; // See note 2 below. - (void)setViewMargin:(CGFloat)value; // See note 2 below.
- (float)arrowBaseWidth; - (CGFloat)arrowBaseWidth;
- (void)setArrowBaseWidth:(float)value; // See note 2 below. - (void)setArrowBaseWidth:(CGFloat)value; // See note 2 below.
- (float)arrowHeight; - (CGFloat)arrowHeight;
- (void)setArrowHeight:(float)value; // See note 2 below. - (void)setArrowHeight:(CGFloat)value; // See note 2 below.
- (float)hasArrow; - (CGFloat)hasArrow;
- (void)setHasArrow:(float)value; - (void)setHasArrow:(CGFloat)value;
- (float)cornerRadius; - (CGFloat)cornerRadius;
- (void)setCornerRadius:(float)value; // See note 2 below. - (void)setCornerRadius:(CGFloat)value; // See note 2 below.
- (float)drawsRoundCornerBesideArrow; // See note 3 below. - (CGFloat)drawsRoundCornerBesideArrow; // See note 3 below.
- (void)setDrawsRoundCornerBesideArrow:(float)value; // See note 2 below. - (void)setDrawsRoundCornerBesideArrow:(CGFloat)value; // See note 2 below.
- (void)setBackgroundImage:(NSImage *)value; - (void)setBackgroundImage:(NSImage *)value;
- (NSColor *)windowBackgroundColor; // See note 4 below. - (NSColor *)windowBackgroundColor; // See note 4 below.
- (void)setBackgroundColor:(NSColor *)value; - (void)setBackgroundColor:(NSColor *)value;
+42 -42
View File
@@ -16,7 +16,7 @@
// Geometry // Geometry
- (void)_updateGeometry; - (void)_updateGeometry;
- (MAWindowPosition)_bestSideForAutomaticPosition; - (MAWindowPosition)_bestSideForAutomaticPosition;
- (float)_arrowInset; - (CGFloat)_arrowInset;
// Drawing // Drawing
- (void)_updateBackground; - (void)_updateBackground;
@@ -194,7 +194,7 @@
// Note: we always leave room for the arrow, even if it currently set to // Note: we always leave room for the arrow, even if it currently set to
// not be shown. This is so it can easily be toggled whilst the window // not be shown. This is so it can easily be toggled whilst the window
// is visible, without altering the window's frame origin point. // is visible, without altering the window's frame origin point.
float scaledArrowHeight = arrowHeight * MAATTACHEDWINDOW_SCALE_FACTOR; CGFloat scaledArrowHeight = arrowHeight * MAATTACHEDWINDOW_SCALE_FACTOR;
switch (_side) { switch (_side) {
case MAPositionLeft: case MAPositionLeft:
case MAPositionLeftTop: case MAPositionLeftTop:
@@ -224,9 +224,9 @@
// Position frame origin appropriately for _side, accounting for arrow-inset. // Position frame origin appropriately for _side, accounting for arrow-inset.
contentRect.origin = (_window) ? [_window convertBaseToScreen:_point] : _point; contentRect.origin = (_window) ? [_window convertBaseToScreen:_point] : _point;
float arrowInset = [self _arrowInset]; CGFloat arrowInset = [self _arrowInset];
float halfWidth = contentRect.size.width / 2.0; CGFloat halfWidth = contentRect.size.width / 2.0;
float halfHeight = contentRect.size.height / 2.0; CGFloat halfHeight = contentRect.size.height / 2.0;
switch (_side) { switch (_side) {
case MAPositionTopLeft: case MAPositionTopLeft:
contentRect.origin.x -= contentRect.size.width - arrowInset; contentRect.origin.x -= contentRect.size.width - arrowInset;
@@ -320,7 +320,7 @@
viewSize.width += (viewMargin * MAATTACHEDWINDOW_SCALE_FACTOR) * 2.0; viewSize.width += (viewMargin * MAATTACHEDWINDOW_SCALE_FACTOR) * 2.0;
viewSize.height += (viewMargin * MAATTACHEDWINDOW_SCALE_FACTOR) * 2.0; viewSize.height += (viewMargin * MAATTACHEDWINDOW_SCALE_FACTOR) * 2.0;
MAWindowPosition side = MAPositionBottom; // By default, position us centered below. MAWindowPosition side = MAPositionBottom; // By default, position us centered below.
float scaledArrowHeight = (arrowHeight * MAATTACHEDWINDOW_SCALE_FACTOR) + _distance; CGFloat scaledArrowHeight = (arrowHeight * MAATTACHEDWINDOW_SCALE_FACTOR) + _distance;
// We'd like to display directly below the specified point, since this gives a // We'd like to display directly below the specified point, since this gives a
// sense of a relationship between the point and this window. Check there's room. // sense of a relationship between the point and this window. Check there's room.
@@ -341,11 +341,11 @@
} }
} }
float halfWidth = viewSize.width / 2.0; CGFloat halfWidth = viewSize.width / 2.0;
float halfHeight = viewSize.height / 2.0; CGFloat halfHeight = viewSize.height / 2.0;
NSRect parentFrame = (_window) ? [_window frame] : screenFrame; NSRect parentFrame = (_window) ? [_window frame] : screenFrame;
float arrowInset = [self _arrowInset]; CGFloat arrowInset = [self _arrowInset];
// We're currently at a primary side. // We're currently at a primary side.
// Try to avoid going outwith the parent area in the secondary dimension, // Try to avoid going outwith the parent area in the secondary dimension,
@@ -409,9 +409,9 @@
} }
- (float)_arrowInset - (CGFloat)_arrowInset
{ {
float cornerInset = (drawsRoundCornerBesideArrow) ? cornerRadius : 0; CGFloat cornerInset = (drawsRoundCornerBesideArrow) ? cornerRadius : 0;
return (cornerInset + (arrowBaseWidth / 2.0)) * MAATTACHEDWINDOW_SCALE_FACTOR; return (cornerInset + (arrowBaseWidth / 2.0)) * MAATTACHEDWINDOW_SCALE_FACTOR;
} }
@@ -476,19 +476,19 @@
6. cornerRadius 6. cornerRadius
*/ */
float scaleFactor = MAATTACHEDWINDOW_SCALE_FACTOR; CGFloat scaleFactor = MAATTACHEDWINDOW_SCALE_FACTOR;
float scaledRadius = cornerRadius * scaleFactor; CGFloat scaledRadius = cornerRadius * scaleFactor;
float scaledArrowWidth = arrowBaseWidth * scaleFactor; CGFloat scaledArrowWidth = arrowBaseWidth * scaleFactor;
float halfArrowWidth = scaledArrowWidth / 2.0; CGFloat halfArrowWidth = scaledArrowWidth / 2.0;
NSRect contentArea = NSInsetRect(_viewFrame, NSRect contentArea = NSInsetRect(_viewFrame,
-viewMargin * scaleFactor, -viewMargin * scaleFactor,
-viewMargin * scaleFactor); -viewMargin * scaleFactor);
float minX = NSMinX(contentArea) * scaleFactor; CGFloat minX = NSMinX(contentArea) * scaleFactor;
float midX = NSMidX(contentArea) * scaleFactor; CGFloat midX = NSMidX(contentArea) * scaleFactor;
float maxX = NSMaxX(contentArea) * scaleFactor; CGFloat maxX = NSMaxX(contentArea) * scaleFactor;
float minY = NSMinY(contentArea) * scaleFactor; CGFloat minY = NSMinY(contentArea) * scaleFactor;
float midY = NSMidY(contentArea) * scaleFactor; CGFloat midY = NSMidY(contentArea) * scaleFactor;
float maxY = NSMaxY(contentArea) * scaleFactor; CGFloat maxY = NSMaxY(contentArea) * scaleFactor;
NSBezierPath *path = [NSBezierPath bezierPath]; NSBezierPath *path = [NSBezierPath bezierPath];
[path setLineJoinStyle:NSRoundLineJoinStyle]; [path setLineJoinStyle:NSRoundLineJoinStyle];
@@ -663,10 +663,10 @@
return; return;
} }
float scaleFactor = MAATTACHEDWINDOW_SCALE_FACTOR; CGFloat scaleFactor = MAATTACHEDWINDOW_SCALE_FACTOR;
float scaledArrowWidth = arrowBaseWidth * scaleFactor; CGFloat scaledArrowWidth = arrowBaseWidth * scaleFactor;
float halfArrowWidth = scaledArrowWidth / 2.0; CGFloat halfArrowWidth = scaledArrowWidth / 2.0;
float scaledArrowHeight = arrowHeight * scaleFactor; CGFloat scaledArrowHeight = arrowHeight * scaleFactor;
NSPoint currPt = [path currentPoint]; NSPoint currPt = [path currentPoint];
NSPoint tipPt = currPt; NSPoint tipPt = currPt;
NSPoint endPt = currPt; NSPoint endPt = currPt;
@@ -811,14 +811,14 @@
} }
- (float)borderWidth { - (CGFloat)borderWidth {
return borderWidth; return borderWidth;
} }
- (void)setBorderWidth:(float)value { - (void)setBorderWidth:(CGFloat)value {
if (borderWidth != value) { if (borderWidth != value) {
float maxBorderWidth = viewMargin; CGFloat maxBorderWidth = viewMargin;
if (value <= maxBorderWidth) { if (value <= maxBorderWidth) {
borderWidth = value; borderWidth = value;
} else { } else {
@@ -830,12 +830,12 @@
} }
- (float)viewMargin { - (CGFloat)viewMargin {
return viewMargin; return viewMargin;
} }
- (void)setViewMargin:(float)value { - (void)setViewMargin:(CGFloat)value {
if (viewMargin != value) { if (viewMargin != value) {
viewMargin = MAX(value, 0.0); viewMargin = MAX(value, 0.0);
@@ -845,13 +845,13 @@
} }
- (float)arrowBaseWidth { - (CGFloat)arrowBaseWidth {
return arrowBaseWidth; return arrowBaseWidth;
} }
- (void)setArrowBaseWidth:(float)value { - (void)setArrowBaseWidth:(CGFloat)value {
float maxWidth = (MIN(_viewFrame.size.width, _viewFrame.size.height) + CGFloat maxWidth = (MIN(_viewFrame.size.width, _viewFrame.size.height) +
(viewMargin * 2.0)) - cornerRadius; (viewMargin * 2.0)) - cornerRadius;
if (drawsRoundCornerBesideArrow) { if (drawsRoundCornerBesideArrow) {
maxWidth -= cornerRadius; maxWidth -= cornerRadius;
@@ -866,12 +866,12 @@
} }
- (float)arrowHeight { - (CGFloat)arrowHeight {
return arrowHeight; return arrowHeight;
} }
- (void)setArrowHeight:(float)value { - (void)setArrowHeight:(CGFloat)value {
if (arrowHeight != value) { if (arrowHeight != value) {
arrowHeight = value; arrowHeight = value;
@@ -880,12 +880,12 @@
} }
- (float)hasArrow { - (CGFloat)hasArrow {
return hasArrow; return hasArrow;
} }
- (void)setHasArrow:(float)value { - (void)setHasArrow:(CGFloat)value {
if (hasArrow != value) { if (hasArrow != value) {
hasArrow = value; hasArrow = value;
@@ -894,13 +894,13 @@
} }
- (float)cornerRadius { - (CGFloat)cornerRadius {
return cornerRadius; return cornerRadius;
} }
- (void)setCornerRadius:(float)value { - (void)setCornerRadius:(CGFloat)value {
float maxRadius = ((MIN(_viewFrame.size.width, _viewFrame.size.height) + CGFloat maxRadius = ((MIN(_viewFrame.size.width, _viewFrame.size.height) +
(viewMargin * 2.0)) - arrowBaseWidth) / 2.0; (viewMargin * 2.0)) - arrowBaseWidth) / 2.0;
if (value <= maxRadius) { if (value <= maxRadius) {
cornerRadius = value; cornerRadius = value;
@@ -914,12 +914,12 @@
} }
- (float)drawsRoundCornerBesideArrow { - (CGFloat)drawsRoundCornerBesideArrow {
return drawsRoundCornerBesideArrow; return drawsRoundCornerBesideArrow;
} }
- (void)setDrawsRoundCornerBesideArrow:(float)value { - (void)setDrawsRoundCornerBesideArrow:(CGFloat)value {
if (drawsRoundCornerBesideArrow != value) { if (drawsRoundCornerBesideArrow != value) {
drawsRoundCornerBesideArrow = value; drawsRoundCornerBesideArrow = value;
+1 -1
View File
@@ -229,4 +229,4 @@ NSString *const kXMLReaderTextNodeKey = @"text";
*errorPointer = parseError; *errorPointer = parseError;
} }
@end @end
+11 -4
View File
@@ -866,7 +866,6 @@
"\"$(SRCROOT)\"", "\"$(SRCROOT)\"",
); );
GCC_DYNAMIC_NO_PIC = NO; GCC_DYNAMIC_NO_PIC = NO;
GCC_MODEL_TUNING = G5;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Subler_Prefix.pch; GCC_PREFIX_HEADER = Subler_Prefix.pch;
@@ -893,7 +892,6 @@
"\"$(SRCROOT)\"", "\"$(SRCROOT)\"",
); );
GCC_DYNAMIC_NO_PIC = YES; GCC_DYNAMIC_NO_PIC = YES;
GCC_MODEL_TUNING = G5;
GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PRECOMPILE_PREFIX_HEADER = YES;
GCC_PREFIX_HEADER = Subler_Prefix.pch; GCC_PREFIX_HEADER = Subler_Prefix.pch;
GCC_VERSION = ""; GCC_VERSION = "";
@@ -911,11 +909,13 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES;
CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_ENTITLEMENTS = ""; CODE_SIGN_ENTITLEMENTS = "";
CODE_SIGN_IDENTITY = ""; CODE_SIGN_IDENTITY = "";
@@ -925,10 +925,13 @@
GCC_C_LANGUAGE_STANDARD = c99; GCC_C_LANGUAGE_STANDARD = c99;
GCC_OPTIMIZATION_LEVEL = 0; GCC_OPTIMIZATION_LEVEL = 0;
GCC_VERSION = ""; GCC_VERSION = "";
GCC_WARN_64_TO_32_BIT_CONVERSION = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_SHADOW = YES;
GCC_WARN_SIGN_COMPARE = NO; GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = NO; GCC_WARN_UNUSED_FUNCTION = NO;
GCC_WARN_UNUSED_PARAMETER = NO; GCC_WARN_UNUSED_PARAMETER = NO;
GCC_WARN_UNUSED_VARIABLE = YES; GCC_WARN_UNUSED_VARIABLE = YES;
@@ -948,11 +951,13 @@
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
ARCHS = "$(ARCHS_STANDARD_32_64_BIT)"; ARCHS = "$(ARCHS_STANDARD_32_64_BIT)";
CLANG_ANALYZER_SECURITY_FLOATLOOPCOUNTER = YES;
CLANG_WARN_BOOL_CONVERSION = YES; CLANG_WARN_BOOL_CONVERSION = YES;
CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_CONSTANT_CONVERSION = YES;
CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_EMPTY_BODY = YES;
CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_ENUM_CONVERSION = YES;
CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_SUSPICIOUS_IMPLICIT_CONVERSION = NO;
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
CODE_SIGN_ENTITLEMENTS = ""; CODE_SIGN_ENTITLEMENTS = "";
CODE_SIGN_IDENTITY = ""; CODE_SIGN_IDENTITY = "";
@@ -962,9 +967,11 @@
GCC_ENABLE_SSE3_EXTENSIONS = YES; GCC_ENABLE_SSE3_EXTENSIONS = YES;
GCC_OPTIMIZATION_LEVEL = 3; GCC_OPTIMIZATION_LEVEL = 3;
GCC_VERSION = ""; GCC_VERSION = "";
GCC_WARN_64_TO_32_BIT_CONVERSION = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
GCC_WARN_ABOUT_MISSING_NEWLINE = YES;
GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES;
GCC_WARN_PEDANTIC = NO; GCC_WARN_PEDANTIC = NO;
GCC_WARN_SHADOW = YES;
GCC_WARN_SIGN_COMPARE = NO; GCC_WARN_SIGN_COMPARE = NO;
GCC_WARN_UNDECLARED_SELECTOR = YES; GCC_WARN_UNDECLARED_SELECTOR = YES;
GCC_WARN_UNINITIALIZED_AUTOS = YES; GCC_WARN_UNINITIALIZED_AUTOS = YES;