SCons 4.5.1 Released

Bill Deegan <bill-cJFiu+DHMVC5azolltMz9laTQe2KTcn/@public.gmane.org> Mon, 6 Mar 2023 23:35:41 -0500
Newsgroups gmane.comp.programming.tools.scons.devel
Message-ID <CAEyG4CFg_2CASVB8M6PjPrj__dd7scd9J-7xtkTs8fYLA9irEA@mail.gmail.com>
--===============6143408053692645360==
Content-Type: multipart/alternative; boundary="00000000000053c21305f647f2ea"

--00000000000053c21305f647f2ea
Content-Type: text/plain; charset="UTF-8"

A new SCons release, 4.5.1, is now available on the SCons download page:

    https://scons.org/pages/download.html

Here is a summary of the changes since 4.5.0:

FIXES
-----

- Fix a problem in 4.5.0 where using something like the following code
  will cause a Clone()'d environment to share the CPPDEFINES with the
  original Environment() which was cloned. Causing leakage of changes
  to CPPDEFINES when they should be completely independent after the Clone.
      env=Environment(CPPDEFINES=['a'])
      env.Append(CPPDEFINES=['b']) (or AppendUnique,Prepend,PrependUnique)
      env1=env.Clone()
      env1.Append(CPPDEFINES=['c']) (or any other modification, but not
overwriting CPPDEFINES)
  Now env['CPPDEFINES'] will contain 'c' when it should not.


Thanks to the following contributors listed below for their contributions
to this release.
==========================================================================================
.. code-block:: text

    git shortlog --no-merges -ns 4.5.0..HEAD

         3  William Deegan
         1  Mats Wichmann

--00000000000053c21305f647f2ea
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">A new SCons release, 4.5.1, is now available on the SCons =
download page:<br><br>=C2=A0 =C2=A0 <a href=3D"https://scons.org/pages/down=
load.html">https://scons.org/pages/download.html</a><br><br>Here is a summa=
ry of the changes since 4.5.0:<br><br>FIXES<br>-----<br><br>- Fix a problem=
 in 4.5.0 where using something like the following code<br>=C2=A0 will caus=
e a Clone()&#39;d environment to share the CPPDEFINES with the<br>=C2=A0 or=
iginal Environment() which was cloned. Causing leakage of changes<br>=C2=A0=
 to CPPDEFINES when they should be completely independent after the Clone.<=
br>=C2=A0 =C2=A0 =C2=A0 env=3DEnvironment(CPPDEFINES=3D[&#39;a&#39;])<br>=
=C2=A0 =C2=A0 =C2=A0 env.Append(CPPDEFINES=3D[&#39;b&#39;]) (or AppendUniqu=
e,Prepend,PrependUnique)<br>=C2=A0 =C2=A0 =C2=A0 env1=3Denv.Clone()<br>=C2=
=A0 =C2=A0 =C2=A0 env1.Append(CPPDEFINES=3D[&#39;c&#39;]) (or any other mod=
ification, but not overwriting CPPDEFINES)<br>=C2=A0 Now env[&#39;CPPDEFINE=
S&#39;] will contain &#39;c&#39; when it should not.<br><br><br>Thanks to t=
he following contributors listed below for their contributions to this rele=
ase.<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<br>.. code-block:: t=
ext<br><br>=C2=A0 =C2=A0 git shortlog --no-merges -ns 4.5.0..HEAD<br><br>=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A03 =C2=A0William Deegan<br>=C2=A0 =C2=A0 =
=C2=A0 =C2=A0 =C2=A01 =C2=A0Mats Wichmann</div>

--00000000000053c21305f647f2ea--

--===============6143408053692645360==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Scons-dev mailing list
[email protected]
https://pairlist2.pair.net/mailman/listinfo/scons-dev

--===============6143408053692645360==--