Skip to content

tools/gen-script-for-lang.c: Avoid generating code with empty arrays

Chun-wei Fan requested to merge gen-script-for-lang-avoid-empty-arrays into master

Hi,

When building Pango from the latest GIT master with Visual Studio, the build fails as an empty array was encountered when going through "und-zsye" as there is an empty array in the generated pango-script-lang-table.h. As in the commit message:

Empty arrays are one of the C99 features that is not currently supported by any Visual Studio versions. Avoid doing so.

With blessings, thank you!

Merge request reports