On 7 Feb 2009, at 7:19 PM, Adam R. Maxwell wrote: > > On Feb 7, 2009, at 9:59 AM, Christiaan Hofman wrote: > >>> Try changing the global xcconfig like so: >>> >>> MACOSX_DEPLOYMENT_TARGET = 10.5 >>> //GCC_VERSION = 4.0 >>> >>> Why the compiler matters, I don't know...but it does here. Since my >>> default is gcc 4.2, there are a bunch of errors. >>> >> >> No, doesn't work either. Tried both with GCC_VERSION=4.0 and >> GCC_VERSION=4.2, no difference. BTW, for me the default is 4.0. >> However, it does find deprecated functions (with either compiler >> version). So is warning for deprecated methods a different setting? >> Because really all i can find is a setting for deprecated functions. > > Very strange! I opened OmniBase.xcodeproj by itself and added a > deprecated call in the NSData category, then played with settings > until I got a warning. Unsetting the build configuration at the > project level worked. > > Do you get warnings in the main BD project if you set the deployment > target to 10.5? Here's what I get: > > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/vendorsrc/gward/ > btparse/objc/../src/error.c:106: warning: 'stringWithCString:' is > deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/ > Library/Frameworks/Foundation.framework/Headers/NSString.h:364) > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/vendorsrc/gward/ > btparse/objc/../src/error.c:113: warning: 'stringWithCString:' is > deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/ > Library/Frameworks/Foundation.framework/Headers/NSString.h:364) > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/vendorsrc/gward/ > btparse/objc/../src/error.c:121: warning: 'stringWithCString:' is > deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/ > Library/Frameworks/Foundation.framework/Headers/NSString.h:364) > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/Bibdesk_Prefix.pch: > 38:2: warning: #warning 10.5: remove ASL hacks > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/ > NSImage_BDSKExtensions.m:192:2: warning: #warning Omni disables > IconFamily on 10.5 > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/ > BDSKComplexString.m:186:2: warning: #warning use > NSShouldRetainWithZone > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/ > NSFileManager_BDSKExtensions.m:350: warning: 'FSpMakeFSRef' is > deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/ > Library/Frameworks/CoreServices.framework/Frameworks/ > CarbonCore.framework/Headers/Files.h:7477) > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/ > NSDate_BDSKExtensions.m:54: warning: 'NSDateTimeOrdering' is > deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/ > Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:96) > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/ > NSDate_BDSKExtensions.m:54: warning: 'NSMonthNameArray' is > deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/ > Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:77) > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/ > NSDate_BDSKExtensions.m:54: warning: 'NSShortMonthNameArray' is > deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/ > Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:78) > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/ > BDSKTextWithIconCell.m:101:2: warning: #warning 10.5 fixme > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/PDFMetadata.m: > 49:2: warning: #warning use PDFKit constants > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/ > BDSKEditorTextView.m:250:2: warning: #warning 10.5: remove URL > detection > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/ > BDSKMacroResolver.m:332: warning: 'NSMonthNameArray' is deprecated > (declared at /Developer/SDKs/MacOSX10.5.sdk/System/Library/ > Frameworks/Foundation.framework/Headers/NSUserDefaults.h:77) > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/ > NSDictionary_BDSKExtensions.m:58:2: warning: #warning fixed on 10.5 > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/BDSKLogUtilities.m: > 113:2: warning: #warning Tiger ASL hack > /Volumes/Local/Users/amaxwell/build/bibdesk-clean/BDSKLinkedFile.m: > 104: warning: 'FSMatchAliasNoUI' is deprecated (declared at / > Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ > CoreServices.framework/Frameworks/CarbonCore.framework/Headers/ > Aliases.h:800)
Basically the same results. I get the explicit #warnings and the deprecated functions and global constants. But not the deprecated methods. I'm pretty much convinced it's a gcc bug. Christiaan ------------------------------------------------------------------------------ Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com _______________________________________________ Bibdesk-develop mailing list Bibdesk-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bibdesk-develop