Skip to content

Fix building Python bindings with SWIG 4.5 - #2173

Merged
dforsi merged 1 commit into
Hamlib:Hamlib-4.7from
dforsi:fix/swig-4.5
Aug 25, 2026
Merged

dforsi merged 1 commit into
Hamlib:Hamlib-4.7from
dforsi:fix/swig-4.5

Conversation

@dforsi

@dforsi dforsi commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

This change is compatible with SWIG 4.4.

Fixes:
error: implicit declaration of function 'PyInt_FromLong'

SWIG commit that dropped the macros used for compatibility with Python 2:
swig/swig@79f7a2b

Debian bug report:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145352

This change is compatible with SWIG 4.4.

Fixes:
 error: implicit declaration of function 'PyInt_FromLong'

SWIG commit that dropped the macros used for compatibility with Python 2:
 swig/swig@79f7a2b

Debian bug report:
 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1145352
@dforsi
dforsi merged commit 251815b into Hamlib:Hamlib-4.7 Aug 25, 2026
@dforsi
dforsi deleted the fix/swig-4.5 branch August 25, 2026 15:19
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.

1 participant