Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#49061 closed defect (wontfix)

Fltk does not build under 10.11

Reported by: jguillaumes@… Owned by: michaelld (Michael Dickens)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc:
Port: fltk

Description (last modified by mf2k (Frank Schima))

Compilation fails with this message:

info:build /System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvaila
bility.h:110:45: note: expanded from macro '__CF_NAMED_ENUM'
:info:build #define __CF_NAMED_ENUM(_type, _name) _type _name; enum
:info:build                                             ^
:info:build fl_line_style.cxx:115:15: error: elaborated type refers to a typedef
:info:build   static enum CGLineJoin Join[4] = { kCGLineJoinMiter, kCGLineJoinMiter, 
:info:build               ^
:info:build /System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:25:26: note: declared here
:info:build typedef CF_ENUM(int32_t, CGLineJoin) {
:info:bu

For reference, it has also been reported in homebrew:

https://github.com/Homebrew/homebrew/issues/41581

Attachments (1)

main.log (108.7 KB) - added by jguillaumes@… 7 years ago.
Build log

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by jguillaumes@…

Attachment: main.log added

Build log

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to michaelld@…

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers fltk), if any.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 7 years ago by michaelld (Michael Dickens)

Please try the port fltk-devel & see if it works for you (it does for me on 10.11). I'm not going to back-port fixes if the devel version works.

comment:4 in reply to:  3 Changed 7 years ago by jguillaumes@…

Replying to michaelld@…:

Please try the port fltk-devel & see if it works for you (it does for me on 10.11). I'm not going to back-port fixes if the devel version works.

fltk-devel builds correctly.

comment:5 Changed 7 years ago by michaelld (Michael Dickens)

Resolution: wontfix
Status: newclosed

Great! I'll close your ticket as "wont fix" for hopefully obvious reasons :)

comment:6 in reply to:  5 Changed 7 years ago by jguillaumes@…

Replying to michaelld@…:

Great! I'll close your ticket as "wont fix" for hopefully obvious reasons :)

Fine, thanks!

Just as a heads-up, fltk is a dependency for GNU Octave, so it is posible that more people will have the same trouble.

comment:7 Changed 7 years ago by michaelld (Michael Dickens)

Yes, true. I just fixed octave to use fltk-devel on 10.11 only, for now until the next release. Thanks for the head's up!

Note: See TracTickets for help on using tickets.