#18254: osx R spkg error: expected ',' or '}' before '__attribute__'
----------------------------------+----------------------------
Reporter: buck | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.7
Component: packages: standard | Keywords:
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
----------------------------------+----------------------------
The sage-support discussion is here:
https://groups.google.com/forum/#!topic/sage-support/9m5N0KUqkWo
I'm on OS X 10.10.3. I've removed homebrew from any part of the build.
I've updated sage to the develop branch.
The error still persists: ([http://www.google.com/url?q=http%3A%2F%2Fpaste
.pound-
python.org%2Fshow%2FCSFQbBf722doPeyrXxJi%2F&sa=D&sntz=1&usg=AFQjCNE3nLaYMBJtas9IBEsp7q23P8Odug
full output])
{{{
gcc -std=gnu99 -I../../../../include -DNDEBUG -I../../../include
-I../../../../src/include -DHAVE_CONFIG_H -I../../../../src/extra/zlib
-fPIC -g -O2 -c devQuartz.c -o devQuartz.o
In file included from /usr/include/Availability.h:153:0,
from /usr/include/stdio.h:65,
from ../../../../include/Rinternals.h:37,
from ../../../include/Defn.h:80,
from devQuartz.c:30:
/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,
}}}
I suspect this needs another patch to fix up inappropriate objective-c in
the C code, similar to what was done for
[https://github.com/sagemath/sage/blob/master/build/pkgs/gcc/spkg-
install#L77,L78 dispatch/object.h], but I might be off base.
--
Ticket URL: <http://trac.sagemath.org/ticket/18254>
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.