Hello Hin-Tak!

> /usr/i686-w64-mingw32/sys-root/mingw/include/harfbuzz/hb-common.h:309:26:
> warning: ISO C restricts enumerator values to range of 'int'
> [-Wpedantic]
>    _HB_SCRIPT_MAX_VALUE    = HB_TAG_MAX, /*< skip >*/
>                           ^

This is a known but harmless issue, and work-arounds seem to be very
inelegant, IIRC.

> /root/rpmbuild/BUILD/freetype-2.5.4/src/base/fttrigon.c:74: warning:
> right shift count >= width of type

This looks strange.  Here's the corresponding code line:

  val = (FT_Fixed)( ( (FT_Int64)val * FT_TRIG_SCALE + 0x40000000UL ) >> 32 );

We explicitly convert to a 64bit entity (`FT_Int64'), and this should
allow a shifting by 32 bits...  So the basic question is whether
`FT_Int64' is *indeed* a 64bit type.


    Werner

_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel

Reply via email to