[Image-SIG] PIL 1.0b1 bug report

Fredrik Lundh fredrik at pythonware.com
Mon Apr 19 04:28:18 EDT 1999


Piers Lauder <piers at 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 at pythonware.com
http://www.pythonware.com





More information about the Python-list mailing list