tech-toolchain archive

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

Re: warning from make(1) about unclosed variable



On Mon, Jul 27, 2020 at 07:33:55PM +0200, Roland Illig wrote:
 > up to now, make(1) has not complained about the following line:
 > 
 > all:
 > 	@echo ${UNCLOSED
 > 
 > I'd like to change that. The patch for this is pretty trivial, therefore
 > I wonder why nobody else has done this before.

Yes please.

I think it's because make is a mess inside, and also because it is
constantly parsing and reparsing strings it's hard to be sure where
the right place to add a check is.

I would go ahead and make it an error. Anything it breaks is easily
fixed.

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index