You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
269 B

void log_fmt(log_sev_t sev, const char *fmt, ...) __attribute__((format(printf, 2, 3)));
#define LOG_FMT(sev, args ...) \
do { if (log_sev_on(sev)) { log_fmt(sev, ## args); } } while (0)
void foo()
{
try {}
catch (...) // <== HERE
{}
}