{"action":"created","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/41581","repository_url":"https://api.github.com/repos/Homebrew/homebrew","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/41581/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/41581/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/41581/events","html_url":"https://github.com/Homebrew/homebrew/issues/41581","id":94370485,"number":41581,"title":"fltk fails to build on 10.11","user":{"login":"ejtttje","id":13210223,"avatar_url":"https://avatars.githubusercontent.com/u/13210223?v=3","gravatar_id":"","url":"https://api.github.com/users/ejtttje","html_url":"https://github.com/ejtttje","followers_url":"https://api.github.com/users/ejtttje/followers","following_url":"https://api.github.com/users/ejtttje/following{/other_user}","gists_url":"https://api.github.com/users/ejtttje/gists{/gist_id}","starred_url":"https://api.github.com/users/ejtttje/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ejtttje/subscriptions","organizations_url":"https://api.github.com/users/ejtttje/orgs","repos_url":"https://api.github.com/users/ejtttje/repos","events_url":"https://api.github.com/users/ejtttje/events{/privacy}","received_events_url":"https://api.github.com/users/ejtttje/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Homebrew/homebrew/labels/10.11","name":"10.11","color":"fef2c0"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-10T19:01:16Z","updated_at":"2016-03-14T08:00:55Z","closed_at":"2015-09-14T02:47:28Z","body":"It's a fairly trivial error, due to using the 'enum' keyword in C++ when declaring an instance of that enum (shouldn't do that, just drop the enum)\r\n\r\nLooks like FLTK has its own independent bug tracker, maybe someone else already has an account with them and can send this on upstream.\r\n\r\n```\r\nCompiling fl_symbols.cxx...\r\nfl_line_style.cxx:38:13: error: elaborated type refers to a typedef\r\nstatic enum CGLineCap fl_quartz_line_cap_ = kCGLineCapButt;\r\n            ^\r\n/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:33:26: note: declared here\r\ntypedef CF_ENUM(int32_t, CGLineCap) {\r\n                         ^\r\n/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:128:88: note: expanded from macro 'CF_ENUM'\r\n#define CF_ENUM(...) __CF_ENUM_GET_MACRO(__VA_ARGS__, __CF_NAMED_ENUM, __CF_ANON_ENUM)(__VA_ARGS__)\r\n                                                                                       ^\r\n/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:111:45: note: expanded from macro '__CF_NAMED_ENUM'\r\n#define __CF_NAMED_ENUM(_type, _name) _type _name; enum\r\n                                            ^\r\nfl_line_style.cxx:39:13: error: elaborated type refers to a typedef\r\nstatic enum CGLineJoin fl_quartz_line_join_ = kCGLineJoinMiter;\r\n            ^\r\n/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:25:26: note: declared here\r\ntypedef CF_ENUM(int32_t, CGLineJoin) {\r\n                         ^\r\n/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:128:88: note: expanded from macro 'CF_ENUM'\r\n#define CF_ENUM(...) __CF_ENUM_GET_MACRO(__VA_ARGS__, __CF_NAMED_ENUM, __CF_ANON_ENUM)(__VA_ARGS__)\r\n                                                                                       ^\r\n/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:111:45: note: expanded from macro '__CF_NAMED_ENUM'\r\n#define __CF_NAMED_ENUM(_type, _name) _type _name; enum\r\n                                            ^\r\nfl_line_style.cxx:113:15: error: elaborated type refers to a typedef\r\n  static enum CGLineCap Cap[4] = { kCGLineCapButt, kCGLineCapButt, \r\n              ^\r\n/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:33:26: note: declared here\r\ntypedef CF_ENUM(int32_t, CGLineCap) {\r\n                         ^\r\n/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:128:88: note: expanded from macro 'CF_ENUM'\r\n#define CF_ENUM(...) __CF_ENUM_GET_MACRO(__VA_ARGS__, __CF_NAMED_ENUM, __CF_ANON_ENUM)(__VA_ARGS__)\r\n                                                                                       ^\r\n/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:111:45: note: expanded from macro '__CF_NAMED_ENUM'\r\n#define __CF_NAMED_ENUM(_type, _name) _type _name; enum\r\n                                            ^\r\nfl_line_style.cxx:115:15: error: elaborated type refers to a typedef\r\n  static enum CGLineJoin Join[4] = { kCGLineJoinMiter, kCGLineJoinMiter, \r\n              ^\r\n/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h:25:26: note: declared here\r\ntypedef CF_ENUM(int32_t, CGLineJoin) {\r\n                         ^\r\n/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:128:88: note: expanded from macro 'CF_ENUM'\r\n#define CF_ENUM(...) __CF_ENUM_GET_MACRO(__VA_ARGS__, __CF_NAMED_ENUM, __CF_ANON_ENUM)(__VA_ARGS__)\r\n                                                                                       ^\r\n/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:111:45: note: expanded from macro '__CF_NAMED_ENUM'\r\n#define __CF_NAMED_ENUM(_type, _name) _type _name; enum\r\n                                            ^\r\n4 errors generated.\r\n```"},"comment":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/comments/196189579","html_url":"https://github.com/Homebrew/homebrew/issues/41581#issuecomment-196189579","issue_url":"https://api.github.com/repos/Homebrew/homebrew/issues/41581","id":196189579,"user":{"login":"mikemcquaid","id":125011,"avatar_url":"https://avatars.githubusercontent.com/u/125011?v=3","gravatar_id":"","url":"https://api.github.com/users/mikemcquaid","html_url":"https://github.com/mikemcquaid","followers_url":"https://api.github.com/users/mikemcquaid/followers","following_url":"https://api.github.com/users/mikemcquaid/following{/other_user}","gists_url":"https://api.github.com/users/mikemcquaid/gists{/gist_id}","starred_url":"https://api.github.com/users/mikemcquaid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikemcquaid/subscriptions","organizations_url":"https://api.github.com/users/mikemcquaid/orgs","repos_url":"https://api.github.com/users/mikemcquaid/repos","events_url":"https://api.github.com/users/mikemcquaid/events{/privacy}","received_events_url":"https://api.github.com/users/mikemcquaid/received_events","type":"User","site_admin":true},"created_at":"2016-03-14T08:00:55Z","updated_at":"2016-03-14T08:00:55Z","body":"@DomT4 :+1: "}}