help-make
[Top][All Lists]
Advanced

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

Feature request for --error-undefined-variables


From: R. Diez
Subject: Feature request for --error-undefined-variables
Date: Mon, 16 Oct 2023 15:00:47 +0000 (UTC)

Hi all:

Makefiles can become complex beasts, and option "--warn-undefined-variables" 
helps find programming errors.

Unfortunately, makefiles also tend to generate a lot of text, and therefore 
such warnings can be easily missed. This reduces the usefulness of 
"--warn-undefined-variables" to a great extent.

I would like to have a flag like "--error-undefined-variables" instead, which 
would be the equivalent to Bash' option "set -o nounset". This way, such 
programming errors cannot go undetected any more.

Best regards,
  rdiez


reply via email to

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