[Image-SIG] PIL 1.0b1 bug report

Fredrik Lundh fredrik@pythonware.com
Mon, 19 Apr 1999 10:44:16 +0200

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:
(but now that you've fixed this, version 6 should work
just as well as 6a!)
Cheers /F