Controls the issuing of warnings for possible unintended logical errors.
Compatibility:This pragma is compatible with the following platform targets:
#pragma extended_errorcheck on | off | reset
Remarks:
If the pragma extended_errorcheck is on, the C compiler generates a warning (not an error) if it encounters some common programming errors. See "Suspicious Assignments to Enumerations and Incorrect Function Returns" for descriptions of these logical errors that are caught when this pragma is on.
This pragma corresponds to the Extended Error Checking option in the C/C++ Warnings Panel. To check whether this option is on, use __option (extended_errorcheck), described in "Checking Options."