[PD-dev] How to solve -Wcast-function-type when pass A_GIMME for arguments