On 7 Feb 2009, at 7:49 PM, Adam R. Maxwell wrote:
>
> On Feb 7, 2009, at 10:30 AM, Christiaan Hofman wrote:
>
>> 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.
>
> Huh...I didn't notice that there weren't any methods involved. It
> looks like this is limited to gcc-4.0 here:
>
No, that's not what I said (or meant). When I said "same result" I
meant that I got the same results as /I/ got earlier (not the same as /
you/ got). So to be clear: I did /not/ get the same warnings you got,
I only got only the warnings for #warning, functions, and global
constants. I do /not/ get your warnings for deprecated methods (like -
stringWithCString:).
> froude:tmp amaxwell$ cat t.m
> #import <Foundation/Foundation.h>
>
> int main (int argc, char const *argv[])
> {
> NSAutoreleasePool *pool = [NSAutoreleasePool new];
>
> NSString *s = [NSString stringWithCString:"eh"];
> NSLog(@"%@", s);
>
> [pool release];
> return 0;
> }
> froude:tmp amaxwell$ gcc-4.0 t.m -framework Foundation
> froude:tmp amaxwell$ gcc-4.2 t.m -framework Foundation
> t.m: In function ‘main’:
> t.m:7: warning: ‘stringWithCString:’ is deprecated (declared at /
> System/Library/Frameworks/Foundation.framework/Headers/NSString.h:386)
>
>
> So here's what I get for BD using gcc-4.2:
>
>
> build/bibdesk-clean/BibDocument_DataSource.m:1347: warning:
> conflicting types for '-(void)tableView:(NSTableView *)tv
> addItemsFromPasteboard:(NSPasteboard *)pboard'
>
> BuildProducts/Debug/OmniAppKit.framework/Headers/NSTableView-
> OAExtensions.h:51: warning: previous declaration of '-
> (BOOL)tableView:(NSTableView *)tableView addItemsFromPasteboard:
> (NSPasteboard *)pasteboard'
>
> build/bibdesk-clean/BibDocument.m:2459: warning: conflicting types
> for '-(void)pasteboardHelperWillBeginGenerating:
> (BDSKItemPasteboardHelper *)helper'
>
> build/bibdesk-clean/BDSKItemPasteboardHelper.h:67: warning: previous
> declaration of '-(NSString *)pasteboardHelperWillBeginGenerating:
> (BDSKItemPasteboardHelper *)pboardHelper'
>
> build/bibdesk-clean/BibDocument.m:2464: warning: conflicting types
> for '-(void)pasteboardHelperDidEndGenerating:
> (BDSKItemPasteboardHelper *)helper'
>
> build/bibdesk-clean/BDSKItemPasteboardHelper.h:68: warning: previous
> declaration of '-(NSString *)pasteboardHelperDidEndGenerating:
> (BDSKItemPasteboardHelper *)pboardHelper'
>
> build/bibdesk-clean/BDSKMacroWindowController.m:560: warning:
> conflicting types for '-(void)tableView:(NSTableView *)tv
> addItemsFromPasteboard:(NSPasteboard *)pboard'
>
> BuildProducts/Debug/OmniAppKit.framework/Headers/NSTableView-
> OAExtensions.h:51: warning: previous declaration of '-
> (BOOL)tableView:(NSTableView *)tableView addItemsFromPasteboard:
> (NSPasteboard *)pasteboard'
>
> build/bibdesk-clean/BDSKTextImportController.m:1536: warning:
> conflicting types for '-(void)tableView:(NSTableView *)tv
> addItemsFromPasteboard:(NSPasteboard *)pboard'
>
> BuildProducts/Debug/OmniAppKit.framework/Headers/NSTableView-
> OAExtensions.h:51: warning: previous declaration of '-
> (BOOL)tableView:(NSTableView *)tableView addItemsFromPasteboard:
> (NSPasteboard *)pasteboard'
>
> build/bibdesk-clean/vendorsrc/ukdirectoryenumerator/
> UKDirectoryEnumerator.m:508: warning: 'stringWithContentsOfFile:' is
> deprecated (declared at /Developer/SDKs/MacOSX10.5.sdk/System/
> Library/Frameworks/Foundation.framework/Headers/NSString.h:357)
>
> build/bibdesk-clean/BDSKLevelIndicatorCell.m:66: warning: format not
> a string literal and no format arguments
>
> build/bibdesk-clean/BDSKLogUtilities.m:379: warning: conflicting
> types for '-(int)hash'
> /Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/
> Foundation.framework/Headers/NSObject.h:16: warning: previous
> declaration of '-(NSUInteger)hash'
>
>
>
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bibdesk-develop
------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-develop