Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

Conversation

@DimStar77
Copy link
Contributor

SWIG 4.4 has dropped the usage of SWIG_NULLPTR again, which means we can't
rely on its presence to identify SWIG >= 4.2.0

Generate a swig_version.h which parses the output of swig -version and
writes this in a hex representation, then compare on this

Fixes #1979

@codecov
Copy link

codecov bot commented Dec 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 50.88%. Comparing base (bfa58f6) to head (e39adff).
⚠️ Report is 15 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1986      +/-   ##
==========================================
- Coverage   50.91%   50.88%   -0.03%     
==========================================
  Files         140      140              
  Lines       30381    30383       +2     
  Branches     4105     4105              
==========================================
- Hits        15467    15460       -7     
- Misses      14913    14922       +9     
  Partials        1        1              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

SWIG 4.4 has dropped the usage of SWIG_NULLPTR again, which means we can't
rely on its presence to identify SWIG >= 4.2.0

Generate a swig_version.h by parsing the output of `swig -version` and
writing this in a hex representation

Fixes znc#1979
@DimStar77
Copy link
Contributor Author

Comments addressed;
I don't understand the CI failure - that seems unrelated to my change

@DarthGandalf
Copy link
Member

Thanks, applied it to 1.10 branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

modpython compiling error with swig 4.4.0

2 participants