bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why not warn for miswritten Make $() functions?


From: Paul D. Smith
Subject: Re: why not warn for miswritten Make $() functions?
Date: 11 Apr 2002 21:18:30 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

%% address@hidden (Dan Jacobson) writes:

  dj> In make
  dj>   echo $(addprefix xxx,mmmm)
  dj> is the right was do use addprefix.  But why don't I see any warnings
  dj> when I do 
  dj>   echo $(addprefix,xxx,mmmm)
  dj> Why not warn instead of in one ear and out the other, hear no evil,
  dj> see no evil...?

Because there is absolutely nothing wrong with either of those two
invocations, and so no way that make can determine that you made a
mistake.

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <address@hidden>          Find some GNU make tips at:
 http://www.gnu.org                      http://www.paulandlesley.org/gmake/
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist



reply via email to

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