We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SWIG generates code silently
The following warnings are displayed by SWIG.
swig/pyskycoin_wrap.c swig/pyskycoin.i swig/include/libskycoin.h:1075: Warning 302: Identifier 'SKY_params_GetDistributionAddresses' redefined (ignored), swig/python_mem.i:353: Warning 302: previous definition of 'SKY_params_GetDistributionAddresses' (Renamed from 'wrap_SKY_params_GetDistributionAddresses'). swig/include/libskycoin.h:1077: Warning 302: Identifier 'SKY_params_GetUnlockedDistributionAddresses' redefined (ignored), swig/python_mem.i:360: Warning 302: previous definition of 'SKY_params_GetUnlockedDistributionAddresses' (Renamed from 'wrap_SKY_params_GetUnlockedDistributionAddresses'). swig/include/libskycoin.h:1079: Warning 302: Identifier 'SKY_params_GetLockedDistributionAddresses' redefined (ignored), swig/python_mem.i:367: Warning 302: previous definition of 'SKY_params_GetLockedDistributionAddresses' (Renamed from 'wrap_SKY_params_GetLockedDistributionAddresses'). swig/include/libskycoin.h:13: Warning 451: Setting a const char * variable may leak memory. swig/include/libskycoin.h:575: Warning 509: Overloaded method SKY_coin_CreateUnspents(coin__BlockHeader *,Transaction__Handle,coin__UxArray *) effectively ignored, swig/python_mem.i:114: Warning 509: as it is shadowed by wrap_SKY_coin_CreateUnspents(coin__BlockHeader *,Transaction__Handle,coin_UxOutArray *). swig/include/libskycoin.h:691: Warning 509: Overloaded method SKY_coin_AddressUxOuts_Keys(AddressUxOuts_Handle,coin__UxArray *) effectively ignored, swig/python_mem.i:318: Warning 509: as it is shadowed by wrap_SKY_coin_AddressUxOuts_Keys(AddressUxOuts_Handle,cipher_Addresses *). swig/include/libskycoin.h:693: Warning 509: Overloaded method SKY_coin_AddressUxOuts_Flatten(AddressUxOuts_Handle,coin__UxArray *) effectively ignored, swig/python_mem.i:275: Warning 509: as it is shadowed by wrap_SKY_coin_AddressUxOuts_Flatten(AddressUxOuts_Handle,coin_UxOutArray *). swig/include/libskycoin.h:699: Warning 509: Overloaded method SKY_coin_AddressUxOuts_Get(AddressUxOuts_Handle,cipher__Address *,coin__UxArray *) effectively ignored, swig/python_mem.i:291: Warning 509: as it is shadowed by wrap_SKY_coin_AddressUxOuts_Get(AddressUxOuts_Handle,cipher__Address *,coin_UxOutArray *). swig/include/libskycoin.h:755: Warning 509: Overloaded method SKY_cipher_GenerateDeterministicKeyPairs(GoSlice,GoInt,coin__UxArray *) effectively ignored, swig/python_mem.i:47: Warning 509: as it is shadowed by wrap_SKY_cipher_GenerateDeterministicKeyPairs(GoSlice,GoInt,cipher_SecKeys *). swig/include/libskycoin.h:1029: Warning 509: Overloaded method SKY_coin_Transactions_Hashes(Transactions__Handle,coin__UxArray *) effectively ignored, swig/python_mem.i:334: Warning 509: as it is shadowed by wrap_SKY_coin_Transactions_Hashes(Transactions__Handle,cipher_SHA256s *).
make build-swig
develop
macos
Unknown
The text was updated successfully, but these errors were encountered:
@olemis the problem is that you are giving warning because the defaults parameters of libskycoin, change them to the new data types for the GoSlice.
Sorry, something went wrong.
refs skycoin#96 Modifying the makefile to silence the warnings
fba24c9
refs skycoin#96 Added in .gitignore skycoin.py and pyskycoin_wrap.c
bd0ddea
Merge pull request #111 from simelo/stdevHan_t96_silent_swig
21c7b83
Fixes #96 Silence the warnings in SWIG
m4yk3ldev
No branches or pull requests
Expected Behavior
SWIG generates code silently
Actual Behavior
The following warnings are displayed by SWIG.
Steps to Reproduce the Problem
make build-swig
Specifications
develop
macos
Possible Solution
Unknown
The text was updated successfully, but these errors were encountered: