Controls the compatibility of the char* and unsigned char* types.
This pragma is compatible with the following platform targets:
#pragma mpwc_relax on | off | reset
Remarks:
This option has no effect on C++ source code.
This pragma may be used to relax function pointer checking:
#pragma mpwc_relax on extern void f(char *); extern void(*fp1)(void *) = &f; // error but allowed extern void(*fp2)(unsigned char *) = &f; // error but allowed
This pragma corresponds to the Relaxed Pointer Type Rules option in the C/C++ Language Panel. To check whether this option is on, __option (mpwc_relax), described in "Checking Options."