Passing a missing value for a pointer argument to a C function from an FCMP function does not work as expected. This issue occurs when you set MAPMISS PTR=NULL.
Instead of passing NULL for the pointer argument, a non-null pointer is passed to what you specified for MAPMISS DBL=<value> in the PROTO procedure.
A hot fix is available for SAS® 9.4M8 (TS1M8). Note that there is no workaround for passing a NULL value to the pointer argument in releases earlier than SAS 9.4M8.