access_errors

Controls whether or not to change invalid access errors to warnings.

Syntax
  #pragma access_errors on | off | reset   
Remarks

If you enable this pragma, the compiler issues an error message instead of a warning when it detects invalid access to protected or private class members.

This pragma does not correspond to any IDE panel setting. By default, this pragma is on.