This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This is true of enums (cf the alpha compiler) but not, I believe, of array initializers.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.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |