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
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel


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

Reply via email to