bug-make
[Top][All Lists]
Advanced

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

[bug #34335] add --warn-undefined-functions command line flag


From: anonymous
Subject: [bug #34335] add --warn-undefined-functions command line flag
Date: Mon, 19 Sep 2011 23:41:02 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:5.0.1) Gecko/20100101 Firefox/5.0.1

URL:
  <http://savannah.gnu.org/bugs/?34335>

                 Summary: add --warn-undefined-functions command line flag
                 Project: make
            Submitted by: None
            Submitted on: Mon 19 Sep 2011 11:41:01 PM UTC
                Severity: 3 - Normal
              Item Group: Enhancement
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
       Component Version: 3.82
        Operating System: Any
           Fixed Release: None
           Triage Status: None

    _______________________________________________________

Details:

In large build, it is not uncommon to have quite a few undefined variable, nor
is it necessarily a bug... but usually trying to $(call and undefined function
is an indication of a bug/typo
These kind of bug are pretty hard to diagnose, especially when the build
system make complex use of $(eval and nested $(call, so using
--warn-undefined-variables is way too noisy.

The proposed patch is to add a new command line flags to display a warning
when an attempt is made to do $(call <undefined>

The attached patch is based on a vanilla 3.82
The patch can also be found here:
http://cgit.freedesktop.org/libreoffice/contrib/dev-tools/commit/?id=42b4958acabe8645736c2d7614ebd55fbf95952d

Norbert Thiebaud




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Mon 19 Sep 2011 11:41:01 PM UTC  Name:
0001-support-for-the-options-warn-undefined-functions.patch  Size: 4kB   By:
None

<http://savannah.gnu.org/bugs/download.php?file_id=23993>

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?34335>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

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