Patrick Steinhardt <ps@xxxxxx> writes: >> I think the suggestion for using a shim layer solution is relevant, because >> additionally to the compatibility issues of the zero initializer, you also >> need to take into consideration that the proposed solution will still trigger >> warnings when compiled as C++ (where {0} should be instead {}). > > Do we even support compiling Git as C++? There was an earlier effort to rename variables like "new", but I think the motivation was more like some folks wanted to try building with C++ compilers. I do not know what the outcome of it was. But people like to disect and include pieces of useful and/or popular software in their programs within the limitation of how the original is licensed. Especially a part well libified like reftable may be a good candidate.