On 2 Apr 2014, at 20:53, Michael Butler <imb_at_protected-networks.net> wrote: > cc (GCC) 4.2.1 20070831 patched [FreeBSD] > > .. on .. > > FreeBSD 11.0-CURRENT #22 r263969: Mon Mar 31 10:45:56 EDT 2014 > > Splitting it like .. > > - fn.fn_ptr.cxa_func = (void(*)(void*))GET_BLOCK_FUNCTION(func); > + fn.fn_ptr.cxa_func = > + (void(*)(void*)) > + GET_BLOCK_FUNCTION(func); > > .. causes the reported error to point at the GET_BLOCK_FUNCTION. Sorry, I meant split it into different statements. Along the lines of: struct generic_block *b = (struct generic_block*)func; void (*fn)(void*,...) = b->invoke; fn.fn_ptr.cxa_func = (void (*)(void*))fn; > I guess it's time for me to migrate that box to clang :-) Well, I wouldn't object to that, but it would be good to fix this - we still want to be able to build the base system with gcc (or another compiler), even if we don't encourage it... DavidReceived on Wed Apr 02 2014 - 17:58:23 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:48 UTC