Controls the compatibility of the char* and unsigned char* types.
#pragma mpwc_relax on | off | reset
If you enable this pragma, the compiler treats char* and unsigned char* as the same type. Use this setting to compile source code written before the ISO C standards. Old source code frequently uses these types interchangeably.
This setting has no effect on C++ source code.
Listing: Relaxing function pointer checking shows how to use this pragma to relax function pointer checking.
#pragma mpwc_relax on extern void f(char *); /* Normally an error, but allowed. */ extern void(*fp1)(void *) = &f; /* Normally an error, but allowed. */ extern void(*fp2)(unsigned char *) = &f;
This pragma does not correspond to any panel setting. By default, this pragma is disabled.