Re: [ft-devel] A few compiler warnings from Mac OS's gcc.

2014-03-01 Thread suzuki toshiya
Sorry for lated response about this. My analysis is following; a) in recent version of FreeType2 uses 64-bit variant for optimized numerical calculation, EVEN IF YOU DON'T ENABLE FT_CONFIG_OPTION_FORCE_INT64 in ftoption.h. b) at present, for GCC environment, the optimized numerical functions

Re: [ft-devel] A few compiler warnings from Mac OS's gcc.

2014-03-01 Thread Werner LEMBERG
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

Re: [ft-devel] A few compiler warnings from Mac OS's gcc.

2014-03-01 Thread suzuki toshiya
Dear Werner, Sorry for my poor English. On 03/02/2014 01:57 AM, Werner LEMBERG wrote: 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.

Re: [ft-devel] A few compiler warnings from Mac OS's gcc.

2014-03-01 Thread Werner LEMBERG
Current pragma design is #pragma GCC diagnostic push #pragma GCC diagnostic ignored -Wlong-long ... #pragma GCC diagnostic pop If it is changed to like #pragma GCC diagnostic ignored -Wlong-long ... #pragma GCC diagnostic warning -Wlong-long the older gcc without

Re: [ft-devel] A few compiler warnings from Mac OS's gcc.

2014-03-01 Thread Werner LEMBERG
Hmm. I will try to find any combinations can simulate -pedantic except of -Wlong-long. Can't you just use the -std=c99 flag to tell GCC to only be pedantic about things not in the now-15-year-old C99 standard, instead of going back to the older C89? Good idea! I leave it to Toshiya-san

[ft-devel] A few compiler warnings from Mac OS's gcc.

2014-02-22 Thread Hin-Tak Leung
Hi Werner, There are a few warnings from an old Mac OS X's compiler, You might want to look into them? The long long seems to be harmless - but I am somewhat surprised you have a warning suppression for gcc 4.6(?) near one of these - the compiler itself reports itself as (GCC) 4.2.1 (Apple Inc.