Mailing List Archive

[Image-SIG] PIL 1.0b1 bug report
Piers Lauder <piers@cs.su.oz.au> wrote:
> I had to add the following code just before the last #include
> in each of Jpeg{En|De}code.c
> #undef METHODDEF
> #define METHODDEF(A) static A
> #undef GLOBAL
> #define GLOBAL(A) A
>
> Without that, the macros produced code of the form
> static (void) XXX

this is not a bug. you're using an old version of the JPEG
libraries (older than 6a, which is the oldest version listed
in the PIL README). recent versions of the JPEG library
can be obtained from:

http://www.ijg.org/

(but now that you've fixed this, version 6 should work
just as well as 6a!)

Cheers /F
fredrik@pythonware.com
http://www.pythonware.com