Package: projectcenter Severity: normal Tags: patch When building 'projectcenter' on amd64 with gcc-4.0, I get the following error:
Compiling file PCProjectEditor.m ... cc1obj: warnings being treated as errors PCProjectEditor.m: In function '-[PCProjectEditor editorDidClose:]': PCProjectEditor.m:467: warning: conflicting types for '-(void)editorDidClose:(NSNotification *)aNotif' PCProjectEditor.h:96: warning: previous declaration of '-(void)editorDidClose:(id)sender' make[3]: *** [shared_obj/PCProjectEditor.o] Error 1 With the attached patch 'projectcenter' can be compiled on amd64 using gcc-4.0. Regards Andreas Jochens diff -urN ../tmp-orig/projectcenter-0.4.0/Library/PCProjectEditor.h ./Library/PCProjectEditor.h --- ../tmp-orig/projectcenter-0.4.0/Library/PCProjectEditor.h 2004-06-20 00:04:30.000000000 +0200 +++ ./Library/PCProjectEditor.h 2005-03-20 12:40:23.895909811 +0100 @@ -93,7 +93,6 @@ // ==== Delegate // =========================================================================== -- (void)editorDidClose:(id)sender; - (void)editorDidBecomeActive:(NSNotification *)aNotif; - (void)editorDidResignActive:(NSNotification *)aNotif; -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]