On Tue, 2015-04-21 at 13:26 -0700, Roland McGrath wrote: > [PATCH] libdwfl: Make dwfl_error.c C99-kosher. > > Signed-off-by: Roland McGrath <[email protected]> > --- > libdwfl/ChangeLog | 7 +++++++ > libdwfl/dwfl_error.c | 21 +++++++++++++++++---- > 2 files changed, 24 insertions(+), 4 deletions(-) > > +2015-04-21 Roland McGrath <[email protected]> > + > + * dwfl_error.c (struct msgtable): Break type definition out of > + the 'msgtable' initializer. > + (msgtable): Make it a union of struct msgtable and a char array. > + (msgstr): Use the full-table char array rather than the msg_0 entry.
This is the last patch needed to get make check happy when using gcc -fsanitize=undefined. Please do push it (or one of the variants discussed in the thread). Thanks, Mark
