On 10/23/14, 12:06 AM, Petri Piila wrote:
> Dear fltk maintainer,
>
> I’m not able to compile fltk13-aqua.
>
> My system :
>
> Package manager version: 0.38.1
> Distribution version: selfupdate-cvs Thu Oct 23 09:51:40 2014, 10.10, x86_64
> Trees: local/main stable/main stable/crypto
> Xcode.app: 6.1
> Xcode command-line tools: 6.1.0.0.1.1413057044
> Max. Fink build jobs:  1
>
> Configuration log:
>

<snip>

> === making src ===
> echo Compiling Fl_cocoa.mm...
> Compiling Fl_cocoa.mm...
> g++ -I..  -Os -Wno-deprecated-declarations -Wall -Wunused -Wno-format-y2k  
> -fPIC -fno-exceptions -fno-strict-aliasing -D_LARGEFILE_SOURCE 
> -D_LARGEFILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT -I/sw/include  -DFL_LIBRARY 
> -x objective-c++ -c Fl_cocoa.mm -o Fl_cocoa.o
> Fl_cocoa.mm:1325:24: error: cannot initialize a parameter of type 
> 'id<NSFileManagerDelegate>' with an rvalue of
>        type 'FLDelegate *'
>      [NSApp setDelegate:[[FLDelegate alloc] init]];
>                         ^~~~~~~~~~~~~~~~~~~~~~~~~
> /usr/include/objc/NSObject.h:60:1: note: instance method 'init' is assumed to 
> return an instance of its receiver
>        type ('FLDelegate *')
> - (instancetype)init;
> ^
> /System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:109:47:
>  note: passing argument to
>        parameter 'delegate' here
> @property (assign) id <NSFileManagerDelegate> delegate NS_AVAILABLE(10_5, 
> 2_0);
>                                                ^
> Fl_cocoa.mm:2234:21: error: cannot initialize a parameter of type 
> 'id<NSWindowDelegate>' with an rvalue of type
>        'id<NSFileManagerDelegate>'
>      [cw setDelegate:[NSApp delegate]];
>                      ^~~~~~~~~~~~~~~~
> /System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:307:41: note: 
> passing argument to parameter
>        'delegate' here
> @property (assign) id<NSWindowDelegate> delegate;
>                                          ^
> 2 errors generated.
> make[1]: *** [Fl_cocoa.o] Error 1
> make: *** [all] Error 1
> ### execution of make failed, exit code 2
> ### execution of /tmp/fink.nOuAY failed, exit code 2
> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-fltk13-aqua-1.3.2-3
> (Reading database ... 31590 files and directories currently installed.)
> Removing fink-buildlock-fltk13-aqua-1.3.2-3 ...
> Failed: phase compiling: fltk13-aqua-1.3.2-3 failed
>
> BR
> Petri Piila
>
>

Thanks for the report.  I'm trying out a patch right now and I'll let 
you know if it works.


-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to