Since all roads lead to nowhere, I will just leave it alone. Next time I have time, I'll disable iso-c and see if I can find more important issues to address :)
Thanks, -Tim On Tue, Jun 7, 2011 at 12:16 PM, Derek Atkins <warl...@mit.edu> wrote: > Jim Paris <j...@jtan.com> writes: > >> DEFINE_ENUM can just add a dummy element to the end which will follow >> the trailing comma: >> >> #define DEFINE_ENUM(name, list) \ >> typedef enum { \ >> list(ENUM_BODY) \ >> __dummy__##name \ >> } name; > > This would cause problems elsewhere, because any switch(name) { } > construct would need to be modified to either have a default or > __dummy__name case statement! So you would break existing code. > >> -jim > > -derek > -- > Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory > Member, MIT Student Information Processing Board (SIPB) > URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH > warl...@mit.edu PGP key available > _______________________________________________ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel