informative error on bad function pointer call with ASSERTIONS=1