bug-texinfo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warn about invalid node names


From: Per Bothner
Subject: Re: Warn about invalid node names
Date: Mon, 12 Aug 2013 09:33:51 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7

On 08/12/2013 09:07 AM, Glenn Morris wrote:
Really? This position makes no sense to me.
Why wouldn't you want to be warned about something that could be a
bug in your document?

(FWIW, I can find just two instances of such complaints in the
bug-texinfo archive, both from the same person as it happens:

http://lists.gnu.org/archive/html/bug-texinfo/2001-12/msg00041.html
http://lists.gnu.org/archive/html/bug-texinfo/2006-05/msg00000.html

In both cases, Werner is not opposed to warnings - he explicitly
says he doesn't want to use --no-warn because he wants useful warnings.

The problem is warnings that one can't shut up - he is asking for
how to rewrite to source to avoid warnings.

Some people/organizations have a policy (or at least preference) that
builds be warning-free.  This is a good discipline. The gcc -Werror option
helps with this.  It's a tool to avoid regressions: If a warning
is an error, it forces you to resolve it immediately.  Using -Werror is only
practical if there us a way to either re-write the source to avoid a warning, or a way to shut up a warning in a specific context (after you've evaluated it).
--
        --Per Bothner
address@hidden   http://per.bothner.com/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]