Toshiya-san,
thanks for your analysis.
> a) on i386, x86_64 and arm where the optimized numerical functions
> are enabled by default, FT_CONFIG_OPTION_FORCE_INT64 should be
> enabled, for the developers' visibility.
OK.
> b-1) for LP64 systems, [use] the type long instead of long long for
> 64-bit variables.
OK.
> b-2) for ILP32 systems, configure should look up C99 types
> (inttypes.h and int64_t), then, if available, use them for
> 64-bit variables. Although int64_t is not supported by C90,
> -pedantic does not complain about it :-(
Do we really need this?
> c) explicitly ignore a warning option and revert it explicitly,
> because switching off a pragma in FT2 is not so complicated, it
> is not so difficult (however, switching -Wlong-long does not work
> for this issue at all! see d))
It's not clear to me what you want to say here...
> d-1) drop -pedantic option (worse idea)
What about simply disabling `-pedantic' for older gcc versions? This
shouldn't do much harm.
Werner
_______________________________________________
Freetype-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/freetype-devel