[Pyrex] Pyrex versus MSVC - problem and (bad) solution

David McNab david at rebirthing.co.nz
Wed Oct 1 07:12:01 CEST 2003


Hi,

With one of my sources, Pyrex generates the C declaration:

  staticforward char *__pyx_f[0];

gcc accepts and compiles this just fine.

But on the dark side, MSVC6 barfs about it being unsized and kills the
compilation.

I scammed around it by manually changing the line to:

  staticforward char **__pyx_f;

as well as a line further down that repeats the declaration, and all is
OK.

Might be woth giving consideration to Pyrex generating its C decs as
above.

-- 
Cheers
David





More information about the Pyrex mailing list