To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=67166 Issue #|67166 Summary|empty macros used in target definitions should trigger | a warning if redefined later Component|tools Version|current Platform|All URL| OS/Version|All Status|NEW Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|dmake Assigned to|vq Reported by|vq
------- Additional comments from [EMAIL PROTECTED] Sun Jul 9 17:11:33 -0700 2006 ------- dmake should issue a warning for when a previously unset macro (i.e. it is assumed to be empty) is used and later set to a different value. The following example, see also issue 67145, -- makefile.mk -- SHELL*:=/bin/sh SHELLFLAGS*:=-ce # NEWDEP= all: $(NEWDEP) echo $@ NEWDEP=my_dependency -- makefile.mk -- shows a case where we currently allow the use of an empty macro without warning that it is (re-)defined in line 9. If the macro would have been defined, even by setting it to "", (for example by uncommenting line 4) the current dmake would warn about the redefinition. Adding this warning makes it easy to catch faulty target definitions where the prerequisites are expanded early and late evaluation with $$ should have been used. See again issue 67145 for such a problem. --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]