[Numpy-discussion] Generalized ufuncs?
Andrew Dalke
dalke at dalkescientific.com
Fri Aug 15 03:18:52 EDT 2008
Andrew Dalke:
> For reference, a page on using inline and doing so portably:
>
> http://www.greenend.org.uk/rjk/2003/03/inline.html
On Aug 15, 2008, at 9:02 AM, Charles R Harris wrote:
> Doesn't do the trick for compilers that aren't C99 compliant. And
> there are many of them. For gcc there are other options.
Pardon? It seems to list several ways to handle compilers that don't
implement C99. Mostly by having a single INLINE define in one form
or another to trigger the correct support.
For example:
You can support legacy compilers (i.e. anything without "inline")
via -Dinline="", although this wastes space.
The gcc options like -finline-functions and -finline-functions-called-
once don't affect the grammar and don't seem relevant here.
Andrew
dalke at dalkescientific.com
More information about the NumPy-Discussion
mailing list