When compiling my program, the following line of code causes a warning which I list after the code.
Escape(hdcPrn, SETABORTPROC, NULL, (LPSTR)lpAbortProc, (LPSTR)NULL);
This generates the following warning:
C4001 non standard extension used - 'cast of function pointer to data pointer'
Getting help on this warning gives the following:
C4001 non standard extension used - 'extension'
The given non standard language extension was used when the /Ze option was specified.
If the /Za option has been specified, this condition generates a syntax error. (warning levels 1, 4)
What can I do to overcome this?