Message ID | 54BD80B1.9020900@redhat.com |
---|---|
State | New |
Headers | show |
On Mon, Jan 19, 2015 at 2:09 PM, Richard Henderson <rth@redhat.com> wrote: > > Fixed thus; applying to mainline after build testing a cross tomips64el-linux. > > Ian, I assume you'll push this upstream? Committed. (It's a little easier for me if I submit patches to the libgo and gcc/go/gofrontend directories.) Ian
diff --git a/libgo/go/reflect/makefunc_ffi_c.c b/libgo/go/reflect/makefunc_ffi_c.c index 2a98e9b..06a41ef 100644 --- a/libgo/go/reflect/makefunc_ffi_c.c +++ b/libgo/go/reflect/makefunc_ffi_c.c @@ -83,7 +83,8 @@ makeFuncFFI(const struct __go_func_type *ftyp, void *impl) #else /* !defined(USE_LIBFFI_CLOSURES) */ void -makeFuncFFI(const struct __go_func_type *ftyp, void *impl) +makeFuncFFI(const struct __go_func_type *ftyp __attribute__ ((unused)), + void *impl __attribute__ ((unused))) { runtime_panicstring ("libgo built without FFI does not support " "reflect.MakeFunc");