[Scons-users] Unhelpful error messages when you use AllowSubstExceptions()

William Deegan bill at baddogconsulting.com
Wed Jun 27 13:32:45 EDT 2012


Tom,
On Jun 27, 2012, at 2:51 AM, TOM TANNER (BLOOMBERG/ LONDON) wrote:


> I've tried using this to make sure we don't have any lurking nastinesses from my translation from our old build system.

>

> However, the error messages are not very helpful in helping to determine where the problem is.

>

> You get this:

> scons: *** NameError `name 'BDEFLAGS' is not defined' trying to evaluate `${BDEFLAGS}'

>

> This tells me exactly what the problem is but it doesn't help me find where it is at all.

>

> Is there anything that can be done to improve the error message. The full command it was trying to expand would be a major help, if nothing else.


Sounds like you should file a bug asking for this error message to be improved.

In the meantime:
grep -r BDEFLAGS * in your tree might find it for you.

-Bill


More information about the Scons-users mailing list