-
Notifications
You must be signed in to change notification settings - Fork 581
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Not enough parameters passed to SWIG_Python_AppendOutput()
with swig 4.3
#6451
Comments
See: #6139 |
13 tasks
According to https://www.swig.org/Release/CHANGES.current it is probably good to replace
|
@hzeller do you want to make a PR with that change? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When compiling with swig 4.3, the generated
SWIG_Python_AppendOutput()
function gets an additional parameterint is_void
which then results in compile error when called with the original two parameters.I noticed that on a system compiling with swig 4.3; maybe this started earlier, but can't verify right now. Someone with more knowledge about swig probably can pinpoint the situation better.
Suggested Solution
In a local hack I could make OpenROAD compile by adding a
0
parameter in dbtypes.i:This is of course a local hack that should probably done with some
ifdef
of sorts or other version-detecting techniqueAdditional Context
No response
The text was updated successfully, but these errors were encountered: