fbergmann / libSEDML

SED-ML library based on libSBML
BSD 2-Clause "Simplified" License
9 stars 12 forks source link

Fixes for swig-4.1.0 macro definition correction #171

Closed jplesnik closed 2 years ago

jplesnik commented 2 years ago

For swig-4.1.0 change:

          #2193 -DFOO on the SWIG command line now sets FOO to 1 for
           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 ***

See https://github.com/swig/swig/issues/2193

This patch is backwards compatible with older versions of SWIG.