bug-make
[Top][All Lists]
Advanced

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

Idea: MAKE_SILENCEWARNINGS variable silences make warnings


From: David A. Wheeler
Subject: Idea: MAKE_SILENCEWARNINGS variable silences make warnings
Date: Tue, 11 Jun 2019 14:37:03 -0400 (EDT)

Problem:

Make warnings are generally useful, but in special cases they can be spurious.
It'd be nice to be able to control them.

Solution:

Create a new make special variable "MAKE_SILENCEWARNINGS".
By default it is not set (empty). If it's non-empty (true),
then make does not print make warnings.  Make errors are still printed, and
commands (which can generate messages) are unaffected.

It's expected that MAKE_SILENCEWARNINGS would typically be used
as a target-specific or pattern-specific private special variable. E.g.,

weird-thing: MAKE_SILENCEWARNINGS = true

--- David A. Wheeler



reply via email to

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