Re: conflicting types compiling libjpeg

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 UTC