Re: conflicting types compiling libjpeg

Irene Vatton <[email protected]>
Newsgroups gmane.comp.web.amaya.devel
Organization INRIA
Message-ID <[email protected]>
On Sun, 22 Dec 2002 15:08:42 -0500
Brant Langer Gurganus <[email protected]> wrote:

> Two lines are conflicting.  In libjpeg/jmorecfg.h, line 161:
> /* INT32 must hold at least signed 32-bit values. */
> 
> #ifndef XMD_H			/* X11/xmd.h correctly defines INT32 */
> typedef long INT32;
> #endif
> 
> In basetsd.h, line 52 referenced from winnt.h from windef.h from windows.h from libjpeg/jmorecfg.h:
> #ifndef XFree86Server
> typedef int INT32, *PINT32;
> #endif /* ndef XFree86Server */
> 
> It looks like this might be an issue in Dev-C++, but I want to make sure.  If it looks like an issue on my end, let me know an I will report it.

Normally we don't have to change the libjpeg code.
I suspect you have to define XFree86Server in your case.
-- 
     Irene.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.