From: fredrik at pythonware.com (Fredrik Lundh)
Date: Mon, 19 Apr 1999 08:28:18 GMT
Subject: [Image-SIG] PIL 1.0b1 bug report
References: <199904170334.XAA06683@python.org>
Message-ID: <017401be8a3e$d6f37f00$f29b12c2@pythonware.com>
X-UID: 646                                                  

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





