W3C home > Mailing lists > Public > www-amaya-dev@w3.org > January 2003

Re: conflicting types compiling libjpeg

From: Brant Langer Gurganus <brantgurganus2001@cherokeescouting.org>
Date: Mon, 06 Jan 2003 19:10:16 -0500
Message-ID: <3E1A1AE8.4090600@cherokeescouting.org>
To: Irene Vatton <irene.vatton@inrialpes.fr>
CC: www-amaya-dev@w3.org
Irene Vatton wrote:

>On Sun, 22 Dec 2002 15:08:42 -0500
>Brant Langer Gurganus <brantgurganus2001@cherokeescouting.org> 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.
>  
>
Any idea how I would fix this?  I am not a complete C++ expert or much 
of an amateur yet.

-- 
Brant Langer Gurganus
http://troop545.cjb.net/brant.xhtml


Received on Monday, 6 January 2003 19:11:29 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:49:00 GMT