diff options
author | Werner Lemberg <wl@gnu.org> | 2023-02-07 07:37:07 +0100 |
---|---|---|
committer | Werner Lemberg <wl@gnu.org> | 2023-02-08 21:09:30 +0100 |
commit | 37bc7c260401e7e34b77d9e04d4c32bf760e1672 (patch) | |
tree | 179789fb20552d0dae82d719899259df006ef383 /docs | |
parent | da9eb9c719bb128cb2e13c7cc9a7ded4abce448d (diff) | |
download | freetype2-37bc7c260401e7e34b77d9e04d4c32bf760e1672.tar.gz |
Avoid reserved identifiers that are globally defined.
This is mandated by the C99 standard, and clang 15 produces zillions of
warnings otherwise.
* devel/ftoption.h, include/freetype/config/ftoption.h,
include/freetype/internal/ftmemory.h, src/autofit/afhints.h,
src/autofit/afmodule.c, src/autofit/aftypes.h, src/base/ftadvanc.c,
src/base/ftdbgmem.c, src/base/ftstream.c, src/bdf/bdflib.c,
src/truetype/ttinterp.c: Replace identifiers of the form `_foo` with `foo_`.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/CHANGES | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/CHANGES b/docs/CHANGES index 3b5018173..8ffff21a8 100644 --- a/docs/CHANGES +++ b/docs/CHANGES @@ -53,6 +53,26 @@ CHANGES BETWEEN 2.12.1 and 2.13 - `ftmulti` can now handle up to 16 design axes. + - To avoid reserved identifiers that are globally defined, the + auto-hinter debugging macros (which are only available if + `FT_DEBUG_AUTOFIT` is defined) + + ``` + _af_debug_disable_horz_hints + _af_debug_disable_vert_hints + _af_debug_disable_blue_hints + _af_debug_hints + ``` + + have been renamed to + + ``` + af_debug_disable_horz_hints_ + af_debug_disable_vert_hints_ + af_debug_disable_blue_hints_ + af_debug_hints_ + ``` + ====================================================================== |