167c327177
Use the DEFINE_ENUM_FLAG_OPERATORS macro in winnt.h on Visual Studio, which defines the bitwise operators for the enumerations that we want to mark as hb_mark_as_flags_t, which will take care of the situation on newer Visual Studio (>= 2012), where the build breaks with C2057 errors as the underlying types of the enumerations is not clear to the compiler when we do a bitwise op within the declaration of the enumerations themselves. Also disable the C4200 (nonstandard extension used : zero-sized array in struct/union) and C4800 ('type' : forcing value to bool 'true' or 'false' (performance warning)) warnings as the C4200 is the intended scenario and C4800 is harmless but is so far an unavoidable side effect of using DEFINE_ENUM_FLAG_OPERATORS. |
||
---|---|---|
docs | ||
m4 | ||
src | ||
test | ||
util | ||
.travis.yml | ||
Android.mk | ||
AUTHORS | ||
autogen.sh | ||
BUILD.md | ||
configure.ac | ||
COPYING | ||
git.mk | ||
harfbuzz.doap | ||
Makefile.am | ||
NEWS | ||
README | ||
README.md | ||
README.python | ||
THANKS | ||
TODO |
This is HarfBuzz, a text shaping library.
For bug reports, mailing list, and other information please visit:
For license information, see the file COPYING.