bugmake - Bugs: bug #8035, undefined special variables

 
 

bug #8035: undefined special variables

Submitted by:  None
Submitted on:  Sat 06 Mar 2004 07:56:25 PM UTC  
 
Severity:  3 - Normal Item Group:  Enhancement
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  3.80 Operating System:  POSIX-Based
Fixed Release:  None Triage Status:  None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 06 Mar 2004 07:56:25 PM UTC, original submission:

Hi,

when calling make with the --warn-undefined-variables, make may issue a warning for undefined special variables. Example:

#------ makefile -----
all:
echo $(MAKECMDGOALS)
#---------------------

"make --warn-undefined-variables -f makefile" results in the warning

makefile:2: warning: undefined variable `MAKECMDGOALS'

whereas for "make --warn-undefined-variables -f makefile all" there is no such warning.

Suggestion: make should always define its special variables, even if they are empty.

Regards,

Stephan Wefing (wefing at gmx dot de)

P.S: my platform is i686-pc-linux-gnu

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

 

 

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2005-06-26 psmith Carbon-Copy- => Added -email is unavailable-

Back to the top


Powered by Savane 3.3