Barry Smith <[email protected]> writes:

>   Thanks for the alternative. 
>
>   @jed does this mean we need to do our casting of functions like this 
> everywhere?

Whenever our interfaces accept a function with a non-unique prototype, the 
interface should take void(*)(void) instead of PetscErrorCode(*)(void).

I think we should also be a bit more judicious about where we absolutely need 
this hack.

Reply via email to