Re: conflicting types compiling libjpeg

Brant Langer Gurganus <[email protected]>
Newsgroups gmane.comp.web.amaya.devel
Message-ID <[email protected]>
Irene Vatton wrote:

>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.
>  
>
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
smime.p7s (application/x-pkcs7-signature, 3.6 KB) - not displayed
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.