[SciPy-dev] more 64 Bit testing
Arnd Baecker
arnd.baecker at web.de
Thu Dec 8 02:11:42 CST 2005
Hi David,
thanks a lot for having a look at this!
On Thu, 8 Dec 2005, David M. Cooke wrote:
> Arnd Baecker <arnd.baecker at web.de> writes:
>
> > Hi,
> >
> > now I managed to have another closer look at the compile problem
> > with dfitpackmodule.c.
> >
> > Some facts ahead
> > - this is with intel icc
> > - dfitpackmodule.c is generated via f2py
> > (it is explicitely written at the start of that file -
> > sorry for not making this clear in the very begining -
> > I jumped straight to the error ...)
> > - The error is
> > build/src/Lib/interpolate/dfitpackmodule.c(2528): error: expected a ";"
> > int calc_lwrk1(void) {
> > - the code looks alright to me
> > (but after too long exposure to python I would not
> > be able to spot a missing ";" anyway )
> > - the same file compiles fine with gcc!
> >
> > So does this mean the code uses something which is specific to gcc?
> > Maybe some (ic)C expert can spot the problem??
> > (Somehow I am tempted to say that this is a bug in icc ...)
>
> I've pruned it down below. It looks to me like icc may not like nested
> functions. IIRC, nested functions have been supported by gcc for a
> while, they're in the C99 standard, but not in C89. It's complaining
> about a missing ";" because adding one before the "{" on that line
> would make it a valid function declaration.
>
> Is there a flag to make icc use the C99 standard? That may help.
yes there is - from man icc
-std=c99 Enable C99 support for C programs
but this does not seem to help.
What next?
Many thanks, Arnd
More information about the Scipy-dev
mailing list