From 7eb54a38b1af7837b85e42f85c169d8a421575e2 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Wed, 14 Sep 2022 10:11:36 +1200 Subject: [PATCH] Note workaround for -DFOO change Code relying on FOO being defined as empty needs to change, but can just use -DFOO= instead and remain compatible with older SWIG. Fixes #2363 --- CHANGES.current | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGES.current b/CHANGES.current index d931cce06..cd985e863 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -657,6 +657,12 @@ Version 4.1.0 (in progress) consistency with C/C++ compiler preprocessors. Previously SWIG set FOO to an empty value. + Existing invocations of SWIG with `-DFOO` where the empty value + matters can be updated to `-DFOO=` which should work with both + old and new releases of SWIG. + + *** POTENTIAL INCOMPATIBILITY *** + 2022-02-06: sethrj #2194 Classes that are non-assignable due to const data or const reference members are now automatically detected.