>From the Go compiler sources (cmd/gc/const.c:51...): /* * convert n, if literal, to type t. * implicit conversion. */ void convlit(Node **np, Type *t) { return convlit1(np, t, 0); } /* * convert n, if literal, to type t. * return a new node if necessary * (if n is a named constant, can't edit n->type directly). */ void convlit1(Node **np, Type *t, int explicit) { int ct, et; Node *n, *nn; ...
There's got to be a return type for both of these that actually makes sense? As it stands, the Plan 9 native C compiler objects. ++L PS: Plan 9 yacc objects to C++-type comments (//), I'm happy to submit a patch that fixes this incompatibility.