[HarfBuzz] enum issue

Behdad Esfahbod behdad at behdad.org
Mon Mar 3 19:52:31 PST 2014


On 14-03-01 08:38 AM, Werner LEMBERG wrote:
> 
> Compiling with -ansi using
> 
>   i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1
>   (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
> 
> I get the following warning:
> 
>   hb-common.h:280: warning:
>     ISO C restricts enumerator values to range of 'int'
> 
> Nothing really serious, but probably worthwhile to mention...

Humm.  I was under the impression that the compiler chooses unsigned int if
necessary.  Don't know.  We definitely want hb_tag_t to be equivalent to
unsigned.  Jonathan, WDYT?

-- 
behdad
http://behdad.org/


More information about the HarfBuzz mailing list