This was a long-standing bug in clang that is fixed in clang 6 and newer: https://bugs.llvm.org/show_bug.cgi?id=21689
Thanks for looking this up (the linked commit also addresses
-Wmissing-braces).
Using {0} is *the* standard way to tell the compiler to initialize all fields (recursively) to its neutral value. Back in the times I would have put a -2 on this.
No worries, nobody thought about merging this.
Alex, I guess this change can be abandoned.
To view, visit change 31973. To unsubscribe, or for help writing mail filters, visit settings.