Simon Josefsson <[EMAIL PROTECTED]> wrote:
> Paul Eggert <[EMAIL PROTECTED]> writes:
>
>> The extra comma is an indication to the reader that we know there are
>> missing zeros, and don't care.  This style can be used for any object
>> in C89, e.g.:
>>
>>     mbstate_t initial_state = { 0, };
>>
>> where we don't know whether mbstate_t is a structure, or an integer,
>> and the code works either way.
>
> I recall some compilers complaining about a trailing ','s.  Is it
> really OK by C89?  I'm just curious.

SunOS's /bin/cc was one of the complainers,
but we've all agreed to drop support for it.


_______________________________________________
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib

Reply via email to