kentonv/capnproto — pull request #138 by pqu (2014-10-31 00:09:26+00:00)
Title: Remove empty brand dependencies array

If there are no brand dependencies, a zero-length array of initialisers will be generated in the schema header. Zero-length arrays are a GNU extension---Clang raises a warning, and MSVC won't accept them at all.

This patch stops emission of the array if there are no brand dependencies (there's also a commit in there for an unrelated missing initialiser warning).