Changes between Initial Version and Version 21 of Ticket #11680
 Timestamp:
 09/08/11 13:48:56 (10 years ago)
Legend:
 Unmodified
 Added
 Removed
 Modified

Ticket #11680

Property
Status
changed from
new
topositive_review

Property
Authors
changed from
to
Martin Albrecht
 Property Cc robertwb added
 Property Keywords sd32 added

Property
Reviewers
changed from
to
William Stein, Leif Leonhardy

Property
Status
changed from

Ticket #11680 – Description
initial v21 1 Right now, the following file foo.pyxcannot be just loaded into Sage:1 Right now, the following file `foo.pyx` cannot be just loaded into Sage: 2 2 {{{ 3 4 3 from sage.rings.rational cimport Rational 5 4 from sage.rings.polynomial.polynomial_rational_flint cimport Polynomial_rational_flint … … 18 17 }}} 19 18 20 The main reason is that there is no way to tell Sage (i.e., the file cython.py) that the code needs to have the extra compile flag:19 The main reason is that there is no way to tell Sage (i.e., the file `cython.py`) that the code needs to have the extra compile flag: 21 20 {{{ 22 21 extra_compile_args = ['std=c99'], 23 22 }}} 24 23 25 Currently devel/sage/sage/misc/cython.py defines "clang", "clib", and "cinclude". But none of these let us add an extra_compile_arg or use c99. 24 Currently `devel/sage/sage/misc/cython.py` supports "clang", "clib", and "cinclude" pragmas. But none of these let us add an `extra_compile_arg` or use C99. 25 26  27 28 Apply [attachment:trac_11680.patch] to the Sage library.