#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 asked gcc for an expansion of the file in question and got this:

 {{{
 # 309
 
"/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h"
 3
 enum {
   kFSEventStreamEventFlagNone = 0x00000000,
 # 330
 
"/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h"
 3
   kFSEventStreamEventFlagMustScanSubDirs = 0x00000001,
 # 345
 
"/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h"
 3
   kFSEventStreamEventFlagUserDropped = 0x00000002,
 <snip>
   kFSEventStreamEventFlagItemIsSymlink = 0x00040000,
   kFSEventStreamEventFlagOwnEvent = 0x00080000,
   kFSEventStreamEventFlagItemIsHardlink __attribute__((weak_import)) =
 0x00100000,
   kFSEventStreamEventFlagItemIsLastHardlink __attribute__((weak_import)) =
 0x00200000,
 };
 }}}

 @jhpalmieri Show me what you get for this command?

 `gcc -E
 
/System/Library/Frameworks/CoreServices.framework/Frameworks/FSEvents.framework/Headers/FSEvents.h
 | grep kFSEventStreamEventFlagNone -B20 -A150 | grep -v '^$' | sed -n
 '/enum {/,/}/p'`

--
Ticket URL: <http://trac.sagemath.org/ticket/18254#comment:21>
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