On 09/10/2012 09:51 AM, Kenichi Ishibashi wrote: > Hi Behdad, > > The current revision can't compile with clang++ if -Werror option is > specified. > > src/hb-open-type-private.hh:437:93: error: initialization of pointer of type > 'OT::GenericArrayOf<OT::IntType<unsigned short>, OT::OffsetTo<OT::LigatureSet> >> *' to null from a constant boolean expression [-Werror,-Wbool-conversion] > if (unlikely (!this->allocate_size<Type> (((char *) &obj) + size - > this->head))) return false > > I'd appreciate if you could use NULL instead of false here.
Oops! Fixed. Thanks. I wish gcc was more helpful. One day I will switch to clang. One day... _______________________________________________ HarfBuzz mailing list HarfBuzz@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/harfbuzz