[MacPorts] #48891: fltk fails to build, El Capitan GM

MacPorts noreply at macports.org
Wed Sep 16 11:05:12 PDT 2015


#48891: fltk fails to build, El Capitan GM
--------------------------------+-------------------------
  Reporter:  joseph.c.slater@…  |      Owner:  michaelld@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.3.3
Resolution:                     |   Keywords:  elcapitan
      Port:  fltk               |
--------------------------------+-------------------------

Comment (by michaelld@…):

 The error is:
 {{{
 910     :info:build /usr/bin/clang++ -I.. -arch x86_64    -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/opt/local/include -pipe -Os -arch x86_64
 -stdlib=libc++ -DFL_LIBRARY -c fl_plastic.cxx -o fl_plastic.o
 911     :info:build fl_line_style.cxx:38:13: error: elaborated type refers
 to a typedef
 912     :info:build static enum CGLineCap fl_quartz_line_cap_ =
 kCGLineCapButt;
 913     :info:build             ^
 914     :info:build
 /System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:33:26:
 note: declared here
 915     :info:build typedef CF_ENUM(int32_t, CGLineCap) {
 916     :info:build                          ^
 917     :info:build
 /System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:127:88:
 note: expanded from macro 'CF_ENUM'
 918     :info:build #define CF_ENUM(...) __CF_ENUM_GET_MACRO(__VA_ARGS__,
 __CF_NAMED_ENUM, __CF_ANON_ENUM)(__VA_ARGS__)
 919     :info:build
 ^
 920     :info:build
 /System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:110:45:
 note: expanded from macro '__CF_NAMED_ENUM'
 921     :info:build #define __CF_NAMED_ENUM(_type, _name) _type _name;
 enum
 }}}
 So, it looks like Apple has changed the way a type is defined. Or,
 something like that.

-- 
Ticket URL: <https://trac.macports.org/ticket/48891#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list