Re: adding text to compile line

Mats Wichmann <[email protected]> Mon, 5 Feb 2024 07:28:05 -0700
Newsgroups gmane.comp.programming.tools.scons.user
Message-ID <[email protected]>
On 2/5/24 06:41, daggs via Scons-users wrote:
> tried this,
> 
> getting this error:
> Traceback (most recent call last):
>    File "/usr/lib/scons/SCons/Action.py", line 688, in __call__
>      cmd = self.strfunction(target, source, env, executor)
>    File "./site_scons/site_init.py", line 10, in my_strfunction
>      c = env.subst(self.cmdstr, SUBST_CMD, executor=executor,
> TypeError: subst() got an unexpected keyword argument 'overrides'

Old version of SCons?  The overrides behavior was added in SCons 4.5. 
For the purposes of experiment, you can just leave out the 
"overrides=overrides" on the three lines where it appears - no need to 
drop it from the function signature.