Re: [RFC PATCH] docs: Warn when auto xref to document fails

From: Nícolas F. R. A. Prado
Date: Sat Mar 13 2021 - 09:21:54 EST


Em 2021-02-11 16:57, Mauro Carvalho Chehab escreveu:

>
> Em Thu, 11 Feb 2021 18:10:36 +0000
> Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxxx> escreveu:
>
> > Print warning when automarkup fails to cross-reference to another
> > document, so that it doesn't fail silently.
> >
> > Signed-off-by: Nícolas F. R. A. Prado <nfraprado@xxxxxxxxxxxxxx>
> > ---
> >
> > This patch is marked as RFC because it causes a lot of new warnings currently.
> > So the patch should only be applied after we reduce this to zero. The warnings
> > are listed at the end.
>
> Maybe it could be enabled if W=2?

Sorry for the delay, I was waiting to see if Jon had any opinion on this.
To me it seems these are relevant warnings that sould always be printed, but I'm
not too sure.

In any case, I'll work on a v2 implementing the mapping I talked about on this
patch, and fixing the warnings I can, and if there are any left, I'll make it
only output on W=2 then.

Thanks,
Nícolas