#7932: _Complex_I undeclared - a new bug totally stops a Solaris 10 build.
--------------------------------------------------------------+-------------
Reporter: drkirkby | Owner:
drkirkby
Type: defect | Status:
new
Priority: blocker | Milestone:
sage-4.3.1
Component: solaris | Keywords:
Work_issues: | Author:
Upstream: Reported upstream. Developers acknowledge bug. | Reviewer:
Merged: |
--------------------------------------------------------------+-------------
Comment(by robertwb):
See spkg at http://sage/home/robertwb/cython/cython-0.12.p1
This changes
{{{
#if CYTHON_CCOMPLEX
#ifdef __cplusplus
#include <complex>
#else
#include <complex.h>
#endif
#endif
}}}
to
{{{
#if CYTHON_CCOMPLEX
#ifdef __cplusplus
#include <complex>
#else
#include <complex.h>
#if defined(__sun__) && defined(__GNUC__)
#undef _Complex_I
#define _Complex_I 1j
#endif
#endif
#endif
}}}
but it feels a bit hackish.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7932#comment:8>
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.