[Top][All Lists]

[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 'all:;echo $(MAKECMDGOALS)' | make -f- --warn-undefined-variables
/tmp/GmXydHev:1: warning: undefined variable 'MAKECMDGOALS'

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:


Message sent via Savannah

reply via email to

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