Lucio De Re <lu...@proxima.alt.za> once said: > New features in Go require a new function in the reflect.c module > (src/cmd/gc/reflect.c). The C compiler (8c, in this case) reports an > error which does not seem to apply: > > 8c -I/go/include -I/go/386/include -FTVw ../gc/reflect.c > ../gc/reflect.c:987 switch expression must be integer > > This is a bit of a stumbling block. I'm hoping there's someone on > this mailing list that can address this problem quicker than it would > be possible for me. More details off line.
Yup. 8c won't allow this. If you we're using 6c you could have a vlong in a switch expression. I sent out a CL for this: https://codereview.appspot.com/5486049/ Anthony