Controls the recognition of a local variable that hides another local variable.
#pragma warn_hiddenlocals on | off | reset
When on, the compiler issues a warning message when it encounters a local variable that hides another local variable. An example appears in Listing: Example of hidden local variables warning.
#pragma warn_hiddenlocals on void func(int a) { { int a; /* WARNING: this 'a' obscures argument 'a'. } }
This pragma does not correspond to any CodeWarrior IDE panel setting. By default, this setting is off.