Origin Ver. 8 and Service Release 5 (Select Help-->About Origin): Operating System: Win XP
I am trying to using a NAG function, d02ejc, which according to the NAG manual accepts specific the NAG-defined null function pointers NULLFN and NULLDFN in its arguments. However, when I try to use them, the compiler frustrates me with "Error, cannot convert argument in function call." I know that this error is related to these two pointers because when I avoid them altogether with explicit functions, the program compiles and works correctly. Both NULLFN and NULLDFN are defined in nag.h as
Changing to NULLFN NULL or NULLFN (void *)0 doesn't seem to matter. Any help is appreciated! Since NULLFN and NULLDFN are also used (optionally) in other NAG functions such as d02cjc and d02qfc, I am hoping there are others who have encountered this issue.