[Pyrex] C compile issues when using Numeric (ArrayType) stuff

Norman Shelley Norman.Shelley at motorola.com
Fri Oct 17 20:18:52 CEST 2003


Francesc Alted wrote:

> A Divendres 17 Octubre 2003 20:01, Norman Shelley va escriure:
> > I build a pyx file which tries to wrap some Numeric and fortran code.
> >
> > The attached pyx file generates a C file which then fails the HPUX cc
> > compiler. I modified the C code slightly and it compiles fine now (both C
> > files are attached.)
> >
> > Any ideas?
>
> Well, I would say that you need at least to specify clearly which the
> compiler complaints are, and then what lines do you have modified in the
> generated C file.

There were two C files attached.   I assumed one would use "diff" to see the
lines I removed/modified.

I got around the problem by not trying to create a ArrayType object (Bfortran) .
I  just cast the results of the ravel(..)
call to <ArrayType> within the call to dn2fb_().
Thanks,
Norman



>
>
> --
> Francesc Alted
>
> _______________________________________________
> Pyrex mailing list
> Pyrex at lists.copyleft.no
> http://lists.copyleft.no/mailman/listinfo/pyrex





More information about the Pyrex mailing list