[Scons-users] adding text to compile line
Bill Deegan
bill at baddogconsulting.com
Mon Feb 5 14:11:10 EST 2024
Or update to latest SCons.. ;)
On Mon, Feb 5, 2024 at 10:41 AM Mats Wichmann <mats at wichmann.us> wrote:
> On 2/5/24 10:41, daggs via Scons-users wrote:
> >> Sent: Monday, February 05, 2024 at 4:28 PM
> >> From: "Mats Wichmann" <mats at wichmann.us>
> >> To: scons-users at scons.org
> >> Subject: Re: [Scons-users] adding text to compile line
> >>
> >> 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.
> > yes, 3.2
> >
> > will try and report back
>
> ah yes, you probably mentioned the version at sme point and I
> missed/forgot it.
>
> you may want to set your tool, if it works, to include some version
> checks so it works on pre-3.5 as well as 3.5+.
>
>
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20240205/bb69330a/attachment.htm>
More information about the Scons-users
mailing list