On Mon, Feb 4, 2013 at 6:38 AM, minux <
minu...@gmail.com> wrote:
>
> also note because Go 1.1 will make int 64-bit on 64-bit architectures, we
> need to
> make cmd/go detect whether swig supports the flag, and if not, reject it as
> it can't
> be used. (this latter note is for someone who want to contribute a fix for
> this issue)
We can just always pass the -intgosize option. If using an old
version of SWIG, SWIG will fail. That is, we don't have to test, all
we have to do, if we want to be nice, is give a better error message
if SWIG outputs "Unrecognized option -intgosize".
Ian