From: Amit Kapila <amit.kapil...@gmail.com> Sent: Friday, 4 October 2019 4:50 PM
>>How about I just define them both the same? >>#define INIT_ALL_ELEMS_ZERO {0} >>#define INIT_ALL_ELEMS_FALSE {0} > >I think using one define would be preferred, but you can wait and see if >others prefer defining different macros for the same thing. While nowhere near unanimous, it seems majority favour using a macro (if only to protect the unwary and document the behaviour). And of those in favour of macros, using INIT_ALL_ELEMS_ZERO even for bool array is a clear preference. So, please find attached the updated patch, which now has just 1 macro. Kind Regards -- Peter Smith Fujitsu Australia
c99_init_nulls_4.patch
Description: c99_init_nulls_4.patch