freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Devel] compiling freetype on 16-bit embedded


From: Steve Calzone
Subject: [Devel] compiling freetype on 16-bit embedded
Date: Thu, 7 Mar 2002 11:48:22 -0500

Hi y'all,
trying to compile for 16-bit embedded system, found similar problems to the
C++ issues, except my enums are 16-bits.  This is ok as long as the lo-order
16-bits of all enums are unique.
Also, could not compile at all unless __STDC__ defined to remove all
references to 64-bit types (since I don't seem to have a 64-bit type).

I am using the Microsoft (R) C/C++ Optimizing Compiler Version 8.00c.  For
now, I must use this compiler version.  The code is compiled for the Am186
processor.

Attached are some of my changes to successfully compile.

The warnings I still receive from the compiler:

ftbase.c
ftobjs.c(2271) : warning C4078: case constant '1651078259' too big for the
type of the switch expression
ftobjs.c(73) : warning C4761: integral size mismatch in argument; conversion
supplied
ftobjs.c(115) : warning C4761: integral size mismatch in argument;
conversion supplied
ftobjs.c(1135) : warning C4761: integral size mismatch in argument;
conversion supplied
ftstream.c(140) : warning C4761: integral size mismatch in argument;
conversion supplied

ftglyph.c
ftglyph.c(135) : warning C4761: integral size mismatch in argument;
conversion supplied
ftglyph.c(618) : warning C4761: integral size mismatch in argument;
conversion supplied

sfnt.c
ttsbit.c(996) : warning C4761: integral size mismatch in argument;
conversion supplied

Please advise how to get rid of these warnings, if possible.

Thanks,
Steve

Attachment: diff.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]