[Pyrex] Pyrex versus MSVC - problem and (bad) solution
Greg Ewing
greg at cosc.canterbury.ac.nz
Wed Oct 1 07:28:51 CEST 2003
David McNab <david at rebirthing.co.nz> wrote:
> 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.
Thanks for the workaround -- I've been wondering what to do
about this problem! I'll incorporate it into the next release.
Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury, | A citizen of NewZealandCorp, a |
Christchurch, New Zealand | wholly-owned subsidiary of USA Inc. |
greg at cosc.canterbury.ac.nz +--------------------------------------+
More information about the Pyrex
mailing list