[MacPorts] #45481: fltk @1.3.2: cannot initialize a parameter of type 'id<NSFileManagerDelegate>' with an rvalue of type 'FLDelegate *'

MacPorts noreply at macports.org
Fri Jul 28 02:39:38 UTC 2023


#45481: fltk @1.3.2: cannot initialize a parameter of type
'id<NSFileManagerDelegate>' with an rvalue of type 'FLDelegate *'
-------------------------+--------------------------------
  Reporter:  bpabbott@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  new
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.3.2
Resolution:              |   Keywords:  yosemite
      Port:  fltk        |
-------------------------+--------------------------------

Comment (by barracuda156):

 Fails on PPC:

 {{{
 === making src ===
 make[1]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_fltk/fltk/work/fltk-1.3.8/src'
 echo Compiling Fl_cocoa.mm...
 echo Compiling Fl_Quartz_Printer.mm...
 Compiling Fl_cocoa.mm...
 /usr/bin/g++-4.2 -I.. -arch ppc -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
 -pipe -Os -DFL_LIBRARY -x objective-c++ -c Fl_cocoa.mm -o Fl_cocoa.o
 Compiling Fl_Quartz_Printer.mm...
 /usr/bin/g++-4.2 -I.. -arch ppc -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
 -pipe -Os -DFL_LIBRARY -x objective-c++ -c Fl_Quartz_Printer.mm -o
 Fl_Quartz_Printer.o
 Fl_cocoa.mm:112: error: ‘NSPasteboardTypeTIFF’ was not declared in this
 scope
 Fl_cocoa.mm:113: error: ‘NSPasteboardTypePDF’ was not declared in this
 scope
 Fl_cocoa.mm:115: error: ‘NSPasteboardTypeString’ was not declared in this
 scope
 Fl_cocoa.mm: In member function ‘void Fl_Window::fullscreen_x()’:
 Fl_cocoa.mm:3090: warning: ‘FLWindow’ may not respond to ‘-setStyleMask:’
 Fl_cocoa.mm:3090: warning: (Messages without a matching method signature
 Fl_cocoa.mm:3090: warning: will be assumed to return ‘id’ and accept
 Fl_cocoa.mm:3090: warning: ‘...’ as arguments.)
 Fl_cocoa.mm: In member function ‘void Fl_Window::fullscreen_off_x(int,
 int, int, int)’:
 Fl_cocoa.mm:3129: warning: ‘FLWindow’ may not respond to ‘-setStyleMask:’
 Fl_cocoa.mm: In static member function ‘static void
 Fl_X::draw_layer_to_context(void*, CGContext*, int, int)’:
 Fl_cocoa.mm:4778: warning: no ‘-renderInContext:’ method found
 make[1]: *** [Fl_cocoa.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/45481#comment:6>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list