Summary: implement a flag to promote make warnings to fatal
                 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


Reply to this item at:


Message sent via Savannah

Reply via email to