@techee commented on this pull request.
> + +#include <stdio.h> +#include <string.h> +#include <errno.h> + +static bool nofatalErrorPrinter (const errorSelection selection, + const char *const format, + va_list ap, void *data CTAGS_ATTR_UNUSED) +{ + fprintf (stderr, "%s: ", (selection & WARNING) ? "Warning: " : "Error"); + vfprintf (stderr, format, ap); + if (selection & PERROR) +#ifdef HAVE_STRERROR + fprintf (stderr, " : %s", strerror (errno)); +#else + perror (" ");
Yeah, we'd need some proper API for that which we don't have. The problem I was running into was that in tag definitions of individual parsers some tags were disabled by default and "make check" failed because of that. So it was either disabling the enabled check here or changing all the affected parsers tag definitions and this was just easier.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.