On 28-11-2019 09:06, Lev Stipakov wrote: > A struct with subobjects should be initialized > with double braces.
This is not true. {0} is a valid initializer for structs in C. Both clang and gcc used to have a bug where they incorrectly warned about this. GCC fixed this a while ago[0]. I thought clang had fixed it too recently, but apparently not? -Steffan [0] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119 _______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel