diff -r 4891d49809bb -r 2b3996fc09a1 core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_warn_hiddenlocals.htm --- a/core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_warn_hiddenlocals.htm Mon Jul 19 15:31:48 2010 -0500 +++ b/core/com.nokia.carbide.cpp.compiler.doc.user/html/pragmas/p_warn_hiddenlocals.htm Mon Jul 19 16:13:24 2010 -0500 @@ -1,37 +1,37 @@ - - -
- - - -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 when it encounters a local variable that hides another local variable. An example appears in Listing 10.36.
-#pragma warn_hiddenlocals on
-void foo(int a)
- {
- {
- int a;
- }
- } // generates a warning: object ’a’ hidden by
- // local declaration
This pragma does not correspond to any panel setting. To check this setting, use __option (warn_hiddenlocals), described in Checking Settings. The default setting is off.
- - - - - + + + + + + +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 when it encounters a local variable that hides another local variable. An example appears in Listing 10.36.
+#pragma warn_hiddenlocals on
+void foo(int a)
+ {
+ {
+ int a;
+ }
+ } // generates a warning: object ’a’ hidden by
+ // local declaration
This pragma does not correspond to any panel setting. To check this setting, use __option (warn_hiddenlocals), described in Checking Settings. The default setting is off.
+ + + + +