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: David Boyce
Subject: [bug #63686] implement a flag to promote make warnings to fatal errors
Date: Fri, 20 Jan 2023 16:12:59 -0500 (EST)

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

                 Summary: implement a flag to promote make warnings to fatal
errors
                 Project: make
               Submitter: boyski
               Submitted: Fri 20 Jan 2023 09:12:57 PM UTC
                Severity: 3 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: SCM
        Operating System: None
           Fixed Release: None
           Triage Status: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Fri 20 Jan 2023 09:12:57 PM UTC By: David Boyce <boyski>
GCC has a -Werror option causing warnings to be promoted to fatal errors which
I (and my organization) find very useful. As a matter of policy we always
build with -Werror on and while this, obviously, is painful to start with it
leads to a much calmer working environment once cruising altitude is reached.
We find new issues much quicker since new warnings aren't interspersed with
hundreds of pre-existing ones.

I've been observing some GNU make warnings (introduced by a co-worker :-) in a
local build here for a while now:

warning: overriding recipe for target ...
warning: ignoring old recipe for target ...

Which made me think "wouldn't it be nice if there was a -Werror equivalent for
make?".







    _______________________________________________________

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]