[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft-devel] LLP64 model outside Win64
From: |
Alexei Podtelezhnikov |
Subject: |
Re: [ft-devel] LLP64 model outside Win64 |
Date: |
Mon, 19 Feb 2018 13:22:35 -0500 |
On Tue, Feb 13, 2018 at 4:39 AM, Chris Liddell
<address@hidden> wrote:
> Using C99 types, with sane fallbacks makes sense, but using the more
> invasive parts of C99 (like mixing declarations and code) could be
> problematic.
This is basically what FreeType is doing already. FreeType gains speed
from "long long" on LLP64:
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/builds/unix/ftconfig.in#n301
We suppress the long long warning while enforcing ANSI otherwise. This
does not cover Visual C++ unfortunately, which still needs
FT_CONFIG_OPTION_FORCE_INT64. I would actually propose flipping the
option to _AVOID_INT64 for ancient platforms and embracing long long
by default.
Here is anther place where we use embrace long long, again leaving
Visual C++ behind:
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/include/freetype/internal/ftcalc.h#n188
- Re: [ft-devel] LLP64 model outside Win64, (continued)
- Re: [ft-devel] LLP64 model outside Win64, Sean McBride, 2018/02/12
- Re: [ft-devel] LLP64 model outside Win64, Pierre Hanser, 2018/02/12
- Re: [ft-devel] LLP64 model outside Win64, Werner LEMBERG, 2018/02/12
- Message not available
- Re: [ft-devel] LLP64 model outside Win64, suzuki toshiya, 2018/02/12
- Re: [ft-devel] LLP64 model outside Win64, Werner LEMBERG, 2018/02/13
- Re: [ft-devel] LLP64 model outside Win64, Chris Liddell, 2018/02/13
- Re: [ft-devel] LLP64 model outside Win64,
Alexei Podtelezhnikov <=
- Message not available
- Message not available
- Re: [ft-devel] LLP64 model outside Win64, suzuki toshiya, 2018/02/12
- Re: [ft-devel] LLP64 model outside Win64, Ruslan Nikolaev, 2018/02/13