Microsoft KB Archive/138953

= Static identifiers are missing from the ClassView Globals folder in Visual C++ =

Article ID: 138953

Article Last Modified on 12/14/2005

-

APPLIES TO


 * Microsoft Visual C++ 4.0 Standard Edition
 * Microsoft Visual C++ 4.1 Subscription
 * Microsoft Visual C++ 4.2 Enterprise Edition
 * Microsoft Visual C++ 5.0 Enterprise Edition
 * Microsoft Visual C++ 6.0 Enterprise Edition
 * Microsoft Visual C++ 4.2 Professional Edition
 * Microsoft Visual C++ 5.0 Professional Edition
 * Microsoft Visual C++ 6.0 Professional Edition
 * Microsoft Visual C++ 6.0 Standard Edition
 * Microsoft Visual C++ .NET 2002 Standard Edition
 * Microsoft Visual C++ .NET 2003 Standard Edition
 * Microsoft Visual C++ 2005 Express Edition

-



This article was previously published under Q138953



SYMPTOMS
The Globals folder in the ClassView of Developer's Studio is used to display and provide quick access to global identifiers in the current project. Identifiers declared as static that have file scope are missing from the ClassView Globals folder.

Note In Microsoft Visual C++ .NET and in Microsoft Visual C++ 2005, the nonstatic identifiers do not appear either.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.



Sample Code to Demonstrate Problem
// Main.cpp #include   ... static int nGlobalStaticInt; // Will not show up in Globals Folder int       nGlobalInt;        // Will show up in Globals Folder ...  void main(void) {  }

Keywords: kbtshoot kbbug kbnofix kbide kbcode KB138953

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.