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 <psm...@gnu.org> 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
> 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?)
>
>
> _______________________________________________
> Bug-make mailing list
> Bug-make@gnu.org
> https://lists.gnu.org/mailman/listinfo/bug-make
>
_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to