I already reported this problem, but it either seems to exist since 2008 or it is a mac specific issue: swig/swig/issues/128