On Tue Dec 13 07:43:08 EST 2011, lu...@proxima.alt.za wrote:
> 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.

i don't see 987 lines in reflect.c.  from 
http://golang.org/src/cmd/gc/reflect.c,
i only see 939.

in any event, it's likely that your switch type is a uvlong.  8c doesn't allow
that.

- erik

Reply via email to