Re: Question regarding bizarre ','

Andrew Cagney
2002-08-06T02:20:26Z

> By most compilers, but some (possibly deviant ones) will give you
> an error, or at least a warning. I have definitely encountered this
> when building GDB, and I think most array and enum initializers in
> gdb do not have the trailing comma for this reason.

This is true of enums (cf the alpha compiler) but not, I believe, of
array initializers.

Andrew