bugThe FreeType Project - Bugs: bug #43033, FreeType disables 64-bit...


bug #43033: FreeType disables 64-bit calculations on 64-bit platform

Submitted by:  Alexei Podtelezhnikov <podtelez>
Submitted on:  Wed 20 Aug 2014 03:03:50 PM UTC  
Severity:  3 - Normal Item Group:  None
Status:  In Progress Privacy:  Public
Assigned to:  Alexei Podtelezhnikov <podtelez> Open/Closed:  Open
Planned Release:  None

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Mon 07 Mar 2016 05:11:17 AM UTC, comment #3: 

We are still shy about defaulting to C99 but we should definitely support if somebody wishes to try it. This commit was supposed to make it easier to find `long long' is somebody wishes to compile is C99 mode. I hope it works.

Alexei Podtelezhnikov <podtelez>
Project MemberIn charge of this item.
Wed 02 Mar 2016 08:22:20 AM UTC, comment #2: 

Alexei, haven't you fixed this recently?  I'm assigning this issue to you :-)

Werner LEMBERG <wl>
Project Administrator
Fri 22 Aug 2014 01:00:53 PM UTC, comment #1: 

FT_LONG64 was undefined in strict ANSI mode even if FT_SIZEOF_LONG was 8. That should not happen because 'long' is ANSI. This is fixed now.

I am going to leave the bug open though because I think we should support 'long long' as well. Autoconf does.

Alexei Podtelezhnikov <podtelez>
Project MemberIn charge of this item.
Wed 20 Aug 2014 03:03:50 PM UTC, original submission:  

Under linux on x86_64, sizeof(long) is 8. So even under strict ANSI, FT_LONG64 should be defined and 64-bit arithmetic should not be disabled. It is not right that I have to beg for it with FT_CONFIG_OPTION_FORCE_INT64 these days.

Also 'long long' has been standard since C99, long enough, no punt intended.

Alexei Podtelezhnikov <podtelez>
Project MemberIn charge of this item.


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by podtelez (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-02 wl Assigned toNone => podtelez
    2014-08-22 podtelez StatusNone => In Progress

    Back to the top

    Powered by Savane 3.5