From 6a3e2079f5e0a3e78c2ec37191eed0170fcdf966 Mon Sep 17 00:00:00 2001 From: ceylo Date: Fri, 28 Aug 2009 15:27:07 +0000 Subject: [PATCH] Set default compiler to GCC 4.0 not to break support with the Mac OS X 10.4 SDK. git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1206 4e206d99-4929-0410-ac5d-dfc041789085 --- .../xcode/SFML-bare.xcodeproj/project.pbxproj | 48 ++++++++++--------- CSFML/xcode/SFML.xcodeproj/project.pbxproj | 2 + .../xcode/SFML-bare.xcodeproj/project.pbxproj | 36 +++++++------- build/xcode/SFML.xcodeproj/project.pbxproj | 6 +-- .../xcode/samples.xcodeproj/project.pbxproj | 2 + 5 files changed, 51 insertions(+), 43 deletions(-) diff --git a/CSFML/xcode/SFML-bare.xcodeproj/project.pbxproj b/CSFML/xcode/SFML-bare.xcodeproj/project.pbxproj index eff267529..e50041da1 100644 --- a/CSFML/xcode/SFML-bare.xcodeproj/project.pbxproj +++ b/CSFML/xcode/SFML-bare.xcodeproj/project.pbxproj @@ -245,10 +245,10 @@ A011E5E70F65786600FAE48D /* zlib.h in Headers */ = {isa = PBXBuildFile; fileRef = A011E5660F65786600FAE48D /* zlib.h */; }; A011E5E80F65786600FAE48D /* zutil.c in Sources */ = {isa = PBXBuildFile; fileRef = A011E5670F65786600FAE48D /* zutil.c */; }; A011E5E90F65786600FAE48D /* zutil.h in Headers */ = {isa = PBXBuildFile; fileRef = A011E5680F65786600FAE48D /* zutil.h */; }; - A011E5FB0F65791B00FAE48D /* libcsfml-system.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system.dylib */; }; - A011E6060F65797100FAE48D /* libcsfml-system.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system.dylib */; }; - A011E6140F6579CA00FAE48D /* libcsfml-window.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E38F0F6574B500FAE48D /* libcsfml-window.dylib */; }; - A011E6170F6579D100FAE48D /* libcsfml-system.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system.dylib */; }; + A011E5FB0F65791B00FAE48D /* libcsfml-system-d.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */; }; + A011E6060F65797100FAE48D /* libcsfml-system-d.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */; }; + A011E6140F6579CA00FAE48D /* libcsfml-window-d.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E38F0F6574B500FAE48D /* libcsfml-window-d.dylib */; }; + A011E6170F6579D100FAE48D /* libcsfml-system-d.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -290,11 +290,11 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - A011E3720F65749300FAE48D /* libcsfml-system.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-system.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A011E37D0F65749F00FAE48D /* libcsfml-network.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-network.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A011E3860F6574AC00FAE48D /* libcsfml-audio.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-audio.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A011E38F0F6574B500FAE48D /* libcsfml-window.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-window.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A011E3980F6574BE00FAE48D /* libcsfml-graphics.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-graphics.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-system-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A011E37D0F65749F00FAE48D /* libcsfml-network-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-network-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A011E3860F6574AC00FAE48D /* libcsfml-audio-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-audio-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A011E38F0F6574B500FAE48D /* libcsfml-window-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-window-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A011E3980F6574BE00FAE48D /* libcsfml-graphics-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libcsfml-graphics-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; A011E3A40F6574E400FAE48D /* SFML-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "SFML-Info.plist"; sourceTree = ""; }; A011E3DE0F65776B00FAE48D /* Sleep.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Sleep.cpp; path = ../src/SFML/System/Sleep.cpp; sourceTree = SOURCE_ROOT; }; A011E3DF0F65776B00FAE48D /* Thread.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Thread.cpp; path = ../src/SFML/System/Thread.cpp; sourceTree = SOURCE_ROOT; }; @@ -537,7 +537,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - A011E5FB0F65791B00FAE48D /* libcsfml-system.dylib in Frameworks */, + A011E5FB0F65791B00FAE48D /* libcsfml-system-d.dylib in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -545,7 +545,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - A011E6060F65797100FAE48D /* libcsfml-system.dylib in Frameworks */, + A011E6060F65797100FAE48D /* libcsfml-system-d.dylib in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -553,8 +553,8 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - A011E6140F6579CA00FAE48D /* libcsfml-window.dylib in Frameworks */, - A011E6170F6579D100FAE48D /* libcsfml-system.dylib in Frameworks */, + A011E6140F6579CA00FAE48D /* libcsfml-window-d.dylib in Frameworks */, + A011E6170F6579D100FAE48D /* libcsfml-system-d.dylib in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -577,11 +577,11 @@ A011E3730F65749300FAE48D /* Products */ = { isa = PBXGroup; children = ( - A011E3720F65749300FAE48D /* libcsfml-system.dylib */, - A011E37D0F65749F00FAE48D /* libcsfml-network.dylib */, - A011E3860F6574AC00FAE48D /* libcsfml-audio.dylib */, - A011E38F0F6574B500FAE48D /* libcsfml-window.dylib */, - A011E3980F6574BE00FAE48D /* libcsfml-graphics.dylib */, + A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */, + A011E37D0F65749F00FAE48D /* libcsfml-network-d.dylib */, + A011E3860F6574AC00FAE48D /* libcsfml-audio-d.dylib */, + A011E38F0F6574B500FAE48D /* libcsfml-window-d.dylib */, + A011E3980F6574BE00FAE48D /* libcsfml-graphics-d.dylib */, ); name = Products; sourceTree = ""; @@ -1076,7 +1076,7 @@ ); name = "csfml-system"; productName = "csfml-system"; - productReference = A011E3720F65749300FAE48D /* libcsfml-system.dylib */; + productReference = A011E3720F65749300FAE48D /* libcsfml-system-d.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A011E37C0F65749F00FAE48D /* csfml-network */ = { @@ -1093,7 +1093,7 @@ ); name = "csfml-network"; productName = "csfml-network"; - productReference = A011E37D0F65749F00FAE48D /* libcsfml-network.dylib */; + productReference = A011E37D0F65749F00FAE48D /* libcsfml-network-d.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A011E3850F6574AC00FAE48D /* csfml-audio */ = { @@ -1110,7 +1110,7 @@ ); name = "csfml-audio"; productName = "csfml-audio"; - productReference = A011E3860F6574AC00FAE48D /* libcsfml-audio.dylib */; + productReference = A011E3860F6574AC00FAE48D /* libcsfml-audio-d.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A011E38E0F6574B500FAE48D /* csfml-window */ = { @@ -1127,7 +1127,7 @@ ); name = "csfml-window"; productName = "csfml-window"; - productReference = A011E38F0F6574B500FAE48D /* libcsfml-window.dylib */; + productReference = A011E38F0F6574B500FAE48D /* libcsfml-window-d.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A011E3970F6574BE00FAE48D /* csfml-graphics */ = { @@ -1144,7 +1144,7 @@ ); name = "csfml-graphics"; productName = "csfml-graphics"; - productReference = A011E3980F6574BE00FAE48D /* libcsfml-graphics.dylib */; + productReference = A011E3980F6574BE00FAE48D /* libcsfml-graphics-d.dylib */; productType = "com.apple.product-type.library.dynamic"; }; /* End PBXNativeTarget section */ @@ -1417,6 +1417,7 @@ ); GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = CSFML_EXPORTS; + GCC_VERSION = 4.0; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_CHECK_SWITCH_STATEMENTS = YES; @@ -1465,6 +1466,7 @@ ); GCC_OPTIMIZATION_LEVEL = 2; GCC_PREPROCESSOR_DEFINITIONS = CSFML_EXPORTS; + GCC_VERSION = 4.0; HEADER_SEARCH_PATHS = ( "$(SRCROOT)/../src", "$(SRCROOT)/../include", diff --git a/CSFML/xcode/SFML.xcodeproj/project.pbxproj b/CSFML/xcode/SFML.xcodeproj/project.pbxproj index 123cb9a44..4e5a1e0f1 100644 --- a/CSFML/xcode/SFML.xcodeproj/project.pbxproj +++ b/CSFML/xcode/SFML.xcodeproj/project.pbxproj @@ -1606,6 +1606,7 @@ ); GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = CSFML_EXPORTS; + GCC_VERSION = 4.0; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; GCC_WARN_CHECK_SWITCH_STATEMENTS = YES; @@ -1654,6 +1655,7 @@ ); GCC_OPTIMIZATION_LEVEL = 2; GCC_PREPROCESSOR_DEFINITIONS = CSFML_EXPORTS; + GCC_VERSION = 4.0; HEADER_SEARCH_PATHS = ( "$(SRCROOT)/../src", "$(SRCROOT)/../include", diff --git a/build/xcode/SFML-bare.xcodeproj/project.pbxproj b/build/xcode/SFML-bare.xcodeproj/project.pbxproj index 6eab40f3b..4122c501f 100644 --- a/build/xcode/SFML-bare.xcodeproj/project.pbxproj +++ b/build/xcode/SFML-bare.xcodeproj/project.pbxproj @@ -157,7 +157,7 @@ A066106A0E89058900D39DEB /* trees.c in Sources */ = {isa = PBXBuildFile; fileRef = A0660FE90E89058900D39DEB /* trees.c */; }; A066106C0E89058900D39DEB /* uncompr.c in Sources */ = {isa = PBXBuildFile; fileRef = A0660FEB0E89058900D39DEB /* uncompr.c */; }; A066106F0E89058900D39DEB /* zutil.c in Sources */ = {isa = PBXBuildFile; fileRef = A0660FEE0E89058900D39DEB /* zutil.c */; }; - A0ABBD570FD46A2200D528E9 /* libsfml-system.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A01269660E6318C000B96A5D /* libsfml-system.dylib */; }; + A0ABBD570FD46A2200D528E9 /* libsfml-system-d.dylib in Frameworks */ = {isa = PBXBuildFile; fileRef = A01269660E6318C000B96A5D /* libsfml-system-d.dylib */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -201,11 +201,11 @@ /* Begin PBXFileReference section */ A011E8050F65B35400FAE48D /* GLKit.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = GLKit.h; sourceTree = ""; }; A011E8060F65B35400FAE48D /* GLKit.mm */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.objcpp; path = GLKit.mm; sourceTree = ""; }; - A01269660E6318C000B96A5D /* libsfml-system.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libsfml-system.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A012696F0E6318FE00B96A5D /* libsfml-network.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libsfml-network.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A01269760E63190F00B96A5D /* libsfml-audio.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libsfml-audio.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A012697D0E63192000B96A5D /* libsfml-window.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libsfml-window.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; - A01269840E63192B00B96A5D /* libsfml-graphics.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libsfml-graphics.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A01269660E6318C000B96A5D /* libsfml-system-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libsfml-system-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A012696F0E6318FE00B96A5D /* libsfml-network-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libsfml-network-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A01269760E63190F00B96A5D /* libsfml-audio-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libsfml-audio-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A012697D0E63192000B96A5D /* libsfml-window-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libsfml-window-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; + A01269840E63192B00B96A5D /* libsfml-graphics-d.dylib */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.dylib"; includeInIndex = 0; path = "libsfml-graphics-d.dylib"; sourceTree = BUILT_PRODUCTS_DIR; }; A018A2AD0EA21A2C005FFAC3 /* Http.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Http.cpp; path = ../../src/SFML/Network/Http.cpp; sourceTree = SOURCE_ROOT; }; A018A2AE0EA21A2C005FFAC3 /* Ftp.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Ftp.cpp; path = ../../src/SFML/Network/Ftp.cpp; sourceTree = SOURCE_ROOT; }; A01BEF070F6BF0140095262C /* Initializer.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; name = Initializer.cpp; path = ../../src/SFML/System/Initializer.cpp; sourceTree = SOURCE_ROOT; }; @@ -409,7 +409,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - A0ABBD570FD46A2200D528E9 /* libsfml-system.dylib in Frameworks */, + A0ABBD570FD46A2200D528E9 /* libsfml-system-d.dylib in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -445,11 +445,11 @@ A01269670E6318C000B96A5D /* Products */ = { isa = PBXGroup; children = ( - A01269660E6318C000B96A5D /* libsfml-system.dylib */, - A012696F0E6318FE00B96A5D /* libsfml-network.dylib */, - A01269760E63190F00B96A5D /* libsfml-audio.dylib */, - A012697D0E63192000B96A5D /* libsfml-window.dylib */, - A01269840E63192B00B96A5D /* libsfml-graphics.dylib */, + A01269660E6318C000B96A5D /* libsfml-system-d.dylib */, + A012696F0E6318FE00B96A5D /* libsfml-network-d.dylib */, + A01269760E63190F00B96A5D /* libsfml-audio-d.dylib */, + A012697D0E63192000B96A5D /* libsfml-window-d.dylib */, + A01269840E63192B00B96A5D /* libsfml-graphics-d.dylib */, ); name = Products; sourceTree = ""; @@ -770,7 +770,7 @@ ); name = "sfml-system"; productName = "sfml-system"; - productReference = A01269660E6318C000B96A5D /* libsfml-system.dylib */; + productReference = A01269660E6318C000B96A5D /* libsfml-system-d.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A012696E0E6318FE00B96A5D /* sfml-network */ = { @@ -786,7 +786,7 @@ ); name = "sfml-network"; productName = "sfml-network"; - productReference = A012696F0E6318FE00B96A5D /* libsfml-network.dylib */; + productReference = A012696F0E6318FE00B96A5D /* libsfml-network-d.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A01269750E63190F00B96A5D /* sfml-audio */ = { @@ -802,7 +802,7 @@ ); name = "sfml-audio"; productName = "sfml-audio"; - productReference = A01269760E63190F00B96A5D /* libsfml-audio.dylib */; + productReference = A01269760E63190F00B96A5D /* libsfml-audio-d.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A012697C0E63192000B96A5D /* sfml-window */ = { @@ -818,7 +818,7 @@ ); name = "sfml-window"; productName = "sfml-window"; - productReference = A012697D0E63192000B96A5D /* libsfml-window.dylib */; + productReference = A012697D0E63192000B96A5D /* libsfml-window-d.dylib */; productType = "com.apple.product-type.library.dynamic"; }; A01269830E63192B00B96A5D /* sfml-graphics */ = { @@ -834,7 +834,7 @@ ); name = "sfml-graphics"; productName = "sfml-graphics"; - productReference = A01269840E63192B00B96A5D /* libsfml-graphics.dylib */; + productReference = A01269840E63192B00B96A5D /* libsfml-graphics-d.dylib */; productType = "com.apple.product-type.library.dynamic"; }; /* End PBXNativeTarget section */ @@ -1067,6 +1067,7 @@ CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)"; COPY_PHASE_STRIP = NO; FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../extlibs/bin"; + GCC_VERSION = 4.0; HEADER_SEARCH_PATHS = ( "${SRCROOT}/../../src", "${SRCROOT}/../../include", @@ -1088,6 +1089,7 @@ CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)"; COPY_PHASE_STRIP = YES; FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../extlibs/bin"; + GCC_VERSION = 4.0; HEADER_SEARCH_PATHS = ( "${SRCROOT}/../../src", "${SRCROOT}/../../include", diff --git a/build/xcode/SFML.xcodeproj/project.pbxproj b/build/xcode/SFML.xcodeproj/project.pbxproj index df14d4cf9..49aa0058c 100644 --- a/build/xcode/SFML.xcodeproj/project.pbxproj +++ b/build/xcode/SFML.xcodeproj/project.pbxproj @@ -1724,7 +1724,7 @@ COPY_PHASE_STRIP = NO; FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../extlibs/bin"; GCC_OPTIMIZATION_LEVEL = 0; - GCC_VERSION = ""; + GCC_VERSION = 4.0; GCC_WARN_ABOUT_POINTER_SIGNEDNESS = NO; GCC_WARN_ALLOW_INCOMPLETE_PROTOCOL = NO; GCC_WARN_CHECK_SWITCH_STATEMENTS = NO; @@ -1758,7 +1758,7 @@ CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)"; FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../extlibs/bin"; GCC_OPTIMIZATION_LEVEL = 2; - GCC_VERSION = ""; + GCC_VERSION = 4.0; GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO; GCC_WARN_ABOUT_RETURN_TYPE = NO; GCC_WARN_INITIALIZER_NOT_FULLY_BRACKETED = NO; @@ -2154,7 +2154,7 @@ FRAMEWORK_SEARCH_PATHS = "$(SRCROOT)/../../extlibs/bin"; GCC_DEBUGGING_SYMBOLS = full; GCC_OPTIMIZATION_LEVEL = 0; - GCC_VERSION = ""; + GCC_VERSION = 4.0; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_MISSING_NEWLINE = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES; diff --git a/samples/build/xcode/samples.xcodeproj/project.pbxproj b/samples/build/xcode/samples.xcodeproj/project.pbxproj index 8a1cd7ac8..21862ded6 100644 --- a/samples/build/xcode/samples.xcodeproj/project.pbxproj +++ b/samples/build/xcode/samples.xcodeproj/project.pbxproj @@ -803,6 +803,7 @@ CONFIGURATION_BUILD_DIR = ../../bin; COPY_PHASE_STRIP = NO; FRAMEWORK_SEARCH_PATHS = "\"$(SRCROOT)/../../../lib\""; + GCC_VERSION = 4.0; OBJROOT = build; SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; SYMROOT = ../../bin; @@ -817,6 +818,7 @@ CONFIGURATION_BUILD_DIR = ../../bin; COPY_PHASE_STRIP = YES; FRAMEWORK_SEARCH_PATHS = "\"$(SRCROOT)/../../../lib\""; + GCC_VERSION = 4.0; OBJROOT = build; SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; SYMROOT = ../../bin;