freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Build freetype2 64bit in windows


From: suzuki toshiya
Subject: Re: [ft-devel] Build freetype2 64bit in windows
Date: Thu, 12 Apr 2012 10:27:25 +0900
User-agent: Mozilla-Thunderbird 2.0.0.12 (X11/20080406)

Hi,

Thank you for reporting your issue, please let me ask some question.

钱晓明 wrote:
Hi, I am using solution file 'freetype.sln' in vc2010 directory to build 
freetype 2.4.9. I create new configuration for x64, and the build process has 
no error but with many warnings.
I see warings for these:
convert "ptrdiff_t" to "unsigned long"

You mean that "ptrdiff_t" is unavailable (or incorrectly working) on Win64 so it should 
be replaced by "unsigned long"?

convert "int" to "FT_Pointer"

It looks odd (from "int" to "FT_Pointer" ???) I guess you mean that "FT_Pointer" should 
be replaced by "int" ?

convert "FT_PtrDist" to "FT_Long"

You mean that "FT_PtrDist" (it's alias of ptrdiff_t) is unavailable on Win64 so it should 
be replaced by "FT_Long"?
In above, you proposed to replace ptrdiff_t by "unsigned long", so there is 
inconsistency. Which is right solution?

convert "int" to "FT_UShort*"

It looks odd (from "int" to "FT_UShort*" pointer???) I guess you mean that "FT_UShort" 
should be replaced by "int" ?
Again, there is a signedness inconsistency (signed int versus unsigned short).

How should I configure my 64bit project for vc2010 to avoid these? I think 
these pointer operations aren't correct.

Thanks.



------------------------------------------------------------------------

_______________________________________________
Freetype-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/freetype-devel




reply via email to

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