bug-make
[Top][All Lists]
Advanced

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

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-v


From: Paul D. Smith
Subject: [bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS
Date: Wed, 30 Nov 2022 13:53:40 -0500 (EST)

Follow-up Comment #3, bug #63439 (project make):

It's true that the same issue exists for this, but in this case it's not a
regression.  It also warned in previous releases:

~$ make --version
GNU Make 4.3

~$ echo 'all:;echo $(GNUMAKEFLAGS)' | make -f- --warn-undefined-variables
echo

~$ echo 'all:;echo $(MAKECMDGOALS)' | make -f- --warn-undefined-variables
/tmp/GmXydHev:1: warning: undefined variable 'MAKECMDGOALS'
echo


I think we're going to need a more generic way to disable warnings for certain
variables that should not be warned about if they're not set.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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