Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

fltk 1.3.2 failed to build on 10.10 #33093

Closed
vlnk opened this issue Oct 11, 2014 · 1 comment
Closed

fltk 1.3.2 failed to build on 10.10 #33093

vlnk opened this issue Oct 11, 2014 · 1 comment

Comments

@vlnk
Copy link

vlnk commented Oct 11, 2014

hi,
gisted logs: https://gist.github.com/fc8638080729030e8870

maybe, it's the same issue of #29988

relevant part of log:

=== installing FL ===
Installing include files in /usr/local/Cellar/fltk/1.3.2_1/include...
=== installing src ===
Compiling Fl_cocoa.mm...
Compiling Fl_Quartz_Printer.mm...
Compiling Fl_Native_File_Chooser_MAC.mm...
Compiling Fl.cxx...
Compiling Fl_Adjuster.cxx...
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]];
                       ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/usr/include/objc/NSObject.h:60:1: note: instance method 'init' is assumed to return an instance of its receiver type ('FLDelegate *')
- (instancetype)init;
^
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/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]];
                    ^~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSWindow.h:307:41: note: passing argument to parameter 'delegate' here
@property (assign) id<NSWindowDelegate> delegate;
                                        ^
Compiling Fl_Bitmap.cxx...
2 errors generated.
make[1]: *** [Fl_cocoa.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [install] Error 1

HOMEBREW_VERSION: 0.9.5
HEAD: f8c1116599ac69be6308796cdabdc620dd72f1d0
CPU: quad-core 64-bit haswell
OS X: 10.10-x86_64
Xcode: 6.0.1
X11: 2.7.7 => /opt/X11
@jacknagel
Copy link
Contributor

fltk is known to fail on 10.10; see #29988

scr34m added a commit to scr34m/homebrew that referenced this issue Oct 19, 2014
Fixes Homebrew#29988 and Homebrew#33093

Tested with tiger-vnc which is used by fltk
This was referenced Oct 19, 2014
scr34m added a commit to scr34m/homebrew that referenced this issue Oct 20, 2014
Fixes Homebrew#33093
Tested with tiger-vnc which is used by fltk
jacknagel pushed a commit that referenced this issue Oct 30, 2014
Fixes #33093.
Closes #33360.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
@Homebrew Homebrew locked and limited conversation to collaborators Feb 17, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants