freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] __STDC__ disables 64-bit long


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] __STDC__ disables 64-bit long
Date: Wed, 20 Aug 2014 10:40:07 -0400

On Wed, Aug 20, 2014 at 10:20 AM, Werner LEMBERG <address@hidden> wrote:
>
>> Under linux on x86_64, the long type is 8 bits. Why do we disable
>> FT_LONG64?
>>
>>   /* A 64-bit data type will create compilation problems if you compile    */
>>   /* in strict ANSI mode.  To avoid them, we disable its use if __STDC__   */
>>   /* is defined.  You can however ignore this rule by defining the         */
>>   /* FT_CONFIG_OPTION_FORCE_INT64 configuration macro.                     */
>>
>> What kind of compilation problem would the long type cause?
>
> `long long' is simply not ANSI.
>

Even if you are serious, 'long' is 8 bits under both linux and OS X on
64-bit platforms. It is nuts to beg for it with
FT_CONFIG_OPTION_FORCE_INT64 these days. It should be quite the
opposite. People should ask to disable it if they are stuck in the
last century without 'long long' support.



reply via email to

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