bug-make
[Top][All Lists]
Advanced

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

[bug #63686] implement a flag to promote make warnings to fatal errors


From: Paul D. Smith
Subject: [bug #63686] implement a flag to promote make warnings to fatal errors
Date: Mon, 27 Feb 2023 09:04:32 -0500 (EST)

Follow-up Comment #8, bug #63686 (project make):

I'm just trying to be clear about what is available, and the tradeoffs.  Maybe
some of these are not interesting to consider.

There is an argument to be made that requiring every individual makefile to
include its own .WARNINGS: special target (or whatever we decide to call it)
will be unpleasant; if someone forgets to add that to some makefile then they
won't get any warnings there and that would be frustrating.  It would be like
having to remember to add a special #pragma to every source file else you
can't get any warnings from the compiler.

Regarding the option, using "--warn" is the same as "--warn=warn".  So I
wouldn't expect the latter to be used often.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63686>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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