[Top][All Lists]

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

Re: Idea: MAKE_SILENCEWARNINGS variable silences make warnings

From: Tim Murphy
Subject: Re: Idea: MAKE_SILENCEWARNINGS variable silences make warnings
Date: Fri, 14 Jun 2019 07:46:05 +0100

Wouldn't it be safer to disable specific warnings for specific target(s),  or specific sections of a makefile?

On Tue, 11 Jun 2019 at 19:42, Paul Smith <address@hidden> wrote:
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

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?)

Bug-make mailing list

reply via email to

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