[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2023-10-16 Thread R. Diez
Follow-up Comment #13, bug #63439 (project make): Thanks for confirming the issue I am reporting. Could you please update the "Fixed Release: 4.4.1", as it is not actually true? Or if it is a separate issue to the one fixed in 4.4.1, then it would probably be worth creating a new bug report for

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2023-10-16 Thread Paul D. Smith
Follow-up Comment #12, bug #63439 (project make): Yes, my example didn't use the -R option (--no-builtin-variables). That's why I didn't see the problem. As noted by Pekka S, this is already fixed in Git and the fix will be available in the next release of GNU Make. ___

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2023-10-16 Thread Pekka S
GNU Make 4.4.1 Built for x86_64-pc-msys # make --no-builtin-variables --warn-undefined-variables make: warning: undefined variable 'GNUMAKEFLAGS' make: *** No targets specified and no makefile found. Stop. # GNUMAKEFLAGS= make --no-builtin-variables --warn-undefined-variables make: ***

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2023-10-16 Thread R. Diez
Follow-up Comment #10, bug #63439 (project make): > Please be sure to post the output of *make --version* > so we know what version of GNU Make you are using. Sorry I forgot. I am using GNU Make 4.4.1, which I built from sources myself: GNU Make 4.4.1 Built for x86_64-pc-linux-gnu > Also plea

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2023-10-16 Thread Paul D. Smith
$ echo '$(info GNUMAKEFLAGS = $(GNUMAKEFLAGS))' | make -f- --warn-undefined-variables GNUMAKEFLAGS = make: *** No targets. Stop. showing no warnings. ___ Reply to this item at: <https://

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2023-10-15 Thread R. Diez
Follow-up Comment #8, bug #63439 (project make): I don't thing this bug is fixed yet. I am using the following makefile: https://github.com/rdiez/DebugDue/tree/master/Toolchain This is the command I am running: $ make --no-builtin-variables --warn-undefined-variables help >/dev/n

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2022-12-24 Thread Paul D. Smith
Update of bug #63439 (project make): Status:None => Fixed Assigned to:None => psmith Open/Closed:Open => Closed Operating System:

[bug #63452] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on MAKECMDGOALS

2022-12-24 Thread Paul D. Smith
Update of bug #63452 (project make): Status:None => Fixed Assigned to:None => psmith Open/Closed:Open => Closed Component Version:

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2022-12-04 Thread Paul D. Smith
Follow-up Comment #6, bug #63439 (project make): I think it depends a little bit on what you think the goal of the option is. I think that the goal should be to warn when users make use of non-standard variables that are not defined. That is, it's there to catch various typos etc. If that's the

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2022-12-02 Thread Dmitry Goncharov
ing '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

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2022-11-30 Thread malcolm cook
Follow-up Comment #4, bug #63439 (project make): I perhaps was over-eager to chalk up my observation as being the same underlying issue. I still think there is a regression, but I certainly misreported it. Try this: /tmp$ make -f- <<<$'MAKEFLAGS += --warn-undefined-varia

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2022-11-30 Thread Paul D. Smith
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-var

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2022-11-30 Thread malcolm cook
Follow-up Comment #2, bug #63439 (project make): FWIW: The exact same issue is present for the variable MAKECMDGOALS. I have reported it as #63452 ___ Reply to this item at: _

[bug #63452] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on MAKECMDGOALS

2022-11-30 Thread malcolm cook
URL: <https://savannah.gnu.org/bugs/?63452> Summary: [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on MAKECMDGOALS Project: make Submitter: malcook Submitted: Wed 30 Nov 2022 06:42:05

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2022-11-29 Thread Dmitry Goncharov
Follow-up Comment #1, bug #63439 (project make): Thank you for your report. This patch runs the lookup for gnumakeflags before decode_env_switches. (file #54041, file #54042) ___ Additional Item Attachment: File name: sv63439_fix.diff

[bug #63439] [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS

2022-11-29 Thread Pekka S
URL: <https://savannah.gnu.org/bugs/?63439> Summary: [Regression] --no-builtin-variables with --warn-undefined-variables trigger warning on GNUMAKEFLAGS Project: make Submitter: pexu Submitted: Tue 29 Nov 2022 10:02:55

[bug #9060] --warn-undefined-variables

2022-09-04 Thread Stephen Niedzielski
Follow-up Comment #7, bug #9060 (project make): Thank you! I shall look forward to this great improvement in the next release! ___ Reply to this item at: ___

[bug #9060] --warn-undefined-variables

2022-09-03 Thread Paul D. Smith
=> SCM ___ Follow-up Comment #6: This was fixed as a partial change for bug #45211 (adding --warn-undefined-variables to MAKEFLAGS takes effect immediately). ___ Reply to this item at: <https://savannah.

[bug #9060] --warn-undefined-variables

2022-09-03 Thread Stephen Niedzielski
Follow-up Comment #5, bug #9060 (project make): Echoing past comments, this is both a very useful feature to have and currently a confusing behavior. ___ Reply to this item at:

[bug #9060] --warn-undefined-variables

2014-09-14 Thread Paul D. Smith
Follow-up Comment #4, bug #9060 (project make): The way make currently works is that MAKEFLAGS is re-parsed only after all the makefiles have been read in and before make is about to start running recipes. MAKEFLAGS is not reparsed immediately every time it's changes. This leads to the behavior

[bug #9060] --warn-undefined-variables

2014-09-14 Thread Mietek Bak
Follow-up Comment #3, bug #9060 (project make): Specifying MAKEFLAGS += --warn-undefined-variables within a Makefile is not equivalent to specifying the same option on the command-line. Test case: MAKEFLAGS += --warn-undefined-variables $(foo): @echo foo bar: @echo $(bar) This

[bug #9060] --warn-undefined-variables

2011-08-20 Thread marvin greenberg
Follow-up Comment #2, bug #9060 (project make): Apparently you can turn this on in a Makefile with MAKEFLAGS += --warn-undefined-variables I'm using 3.81 and this works from an included makefile before any variable references. ___

Short option for make --warn-undefined-variables

2011-05-06 Thread Jon Grant
Hello Could a short option be added for the following make option please? --warn-undefined-variables Warn when an undefined variable is referenced. I propose -u Please keep my email address in any replies. Best regards, Jon ___ Bug-make mailing

[bug #9060] --warn-undefined-variables

2008-11-09 Thread Richard Addison-Wood
mechanism for turning on the effect of --warn-undefined-variables within a makefile. ___ Reply to this item at: <http://savannah.gnu.org/bugs/?9060> ___ Message sent via/by Savannah

--warn-undefined-variables

2004-03-18 Thread Dave Yost
It would be nice to be able to turn on this feature from within a Makefile. Thanks Dave ___ Bug-make mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-make

--warn-undefined-variables in $(MAKEFLAGS)

2002-08-11 Thread Honda Hiroki
Hi, This is a report of a small trouble I encountered when I wrote `MAKEFLAGS := --warn-undefined-variables' in a makefile. [/tmp]% uname -srm Linux 2.4.5-3 i686 [/tmp]% make-3.80rc1/make -v GNU Make 3.80rc1 ...snip... (description) The above is the environment of my exper