Hi,

Ever since the change of now passing the diagnostic option ID as
struct (now diagnostics::option_id) I struggle with what previously
was as simple as

(gdb) b warning_at if id == OPT_Wuninitialized

doing

(gdb) b warning_at if option_id == OPT_Wuninitialized

causes

Error in testing condition for breakpoint 5.1:
Internal error: incompatible overload candidates proposed

and I'm facing gazillion calls of warning_at that in the end are
not emitted and not relevant to what I am trying to debug.

Can I ask for a sensible workaround / tip as to where I can
break to catch an actually emitted diagnostic reliably,
eventually filtered by the option kind?

Thanks,
Richard.

Reply via email to