Hi Gabriel,
Richard just reminded me that we have two fancy_aborts.
Could you tell which one your code is indirectly using?
the one installed as plugin/include/system.h, which seems to be
gcc/include/system.h.
OK. I think that declaration has to have the C language spec.
Would you prepare a patch for that?
you mean: wrap the fancy_abort declaration in system.h in 'extern C'?
Sure, I will prepare a patch.
Best wishes, Duncan.
It is used for example in tree.h here:
/* Advance to the next argument. */
static inline void
function_args_iter_next (function_args_iterator *i)
{
gcc_assert (i->next != NULL_TREE);
i->next = TREE_CHAIN (i->next);
}
Best wishes, Duncan.