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: Dmitry Goncharov
Subject: [bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS
Date: Fri, 2 Dec 2022 23:10:23 -0500 (EST)

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

> Exactly how this difference comes to pass is beyond my ken, but there it
is... in 4.3 the variable is empty whereas in 4.4 it is undefined.


MAKECMDGOALS is undefined in both.
make-4.3 is not reporting the undefined variable, because setting 'MAKEFLAGS
+= --warn-undefined-variables' in makefile has not effect in make-4.3. Try
passing --warn-undefined-variables on the command line and see that make-4.3
reports the undefined variable.

i checked a few versions, down to 3.82, and they all report MAKECMDGOALS as
undefined.
Do you see a reason why make should not report MAKECMDGOALS as undefined in
this case?



    _______________________________________________________

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]