#18254: osx R spkg error: expected ',' or '}' before '__attribute__'
-------------------------------------+-------------------------------------
       Reporter:  buck               |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-
      Component:  packages:          |  duplicate/invalid/wontfix
  standard                           |   Resolution:
       Keywords:                     |    Merged in:
        Authors:                     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by buck):

 I've pared it down to this minimal reproduction:

 {{{
 $ echo '#include <ApplicationServices/ApplicationServices.h>' |
 MACOSX_DEPLOYMENT_TARGET=10.10 gcc -c -xc -
 (it works, no output)

 $ echo '#include <ApplicationServices/ApplicationServices.h>' |
 MACOSX_DEPLOYMENT_TARGET=10.9 gcc -c -xc -
 In file included from /usr/include/Availability.h:153:0,
                  from
 
/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.h:19,
                  from <stdin>:1:
 
/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h:486:41:
 error: expected ',' or '}' before '__attribute__'
    kFSEventStreamEventFlagItemIsHardlink
 __OSX_AVAILABLE_STARTING(__MAC_10_10, __IPHONE_9_0) = 0x00100000,
                                          ^
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/18254#comment:40>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to