bug-make
[Top][All Lists]
Advanced

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

Re: Idea: MAKE_SILENCEWARNINGS variable silences make warnings


From: Paul Smith
Subject: Re: Idea: MAKE_SILENCEWARNINGS variable silences make warnings
Date: Tue, 11 Jun 2019 14:42:18 -0400

On Tue, 2019-06-11 at 14:37 -0400, David A. Wheeler wrote:
> Create a new make special variable "MAKE_SILENCEWARNINGS".

I have toyed with an idea like this in my mind.  When I think about it,
I wanted to create a warning infrastructure like the one GCC has, with
command line -W... options, allowing -Wno-... to disable them, and also
a -Werror / -Wno-error option to turn them into fatal errors instead of
warnings.

I was just thinking to use MAKEFLAGS += -W... rather than creating a
new variable.  However maybe there are reasons that's less desirable
(passing these options to recursive invocations?)




reply via email to

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