[Scons-users] Is there a way to turn this warning message off?

Mark A. Flacy mflacy at verizon.net
Sat Jul 26 15:16:16 EDT 2014


On Saturday, July 26, 2014 01:20:42 PM William Blevins wrote:
> My opinion is that none should express warnings.
> 

Well...

Dirk brings up a good point and it all revolves around "What do you mean when 
you create an Environment()?" as well as "How *should* you create an 
Environment()?"

If the scons designers want to say "When you create an Environment, you are 
stating that you *need* all of the tools specified when the Environment is 
constructed!", then it makes absolutely perfect sense that any tool the 
environment is attempting to initialize should complain if it cannot.

IMO, if that's what you mean then if you don't specify a tool list when you 
create an Environment, then you shouldn't get _any_ tools.  Any warnings 
should be optional and displayed via a debug command.  After all, you may be 
using the built-in actions to run your build or you are creating your own 
builders and don't care what's in the tool set so the warning would be 
annoying.



-- 
Mark A. Flacy


More information about the Scons-users mailing list