turn off useless warning in swig