re PR c/11234 (-pedantic accepts function pointer <-> void*)