You are currently offline, waiting for your internet to reconnect

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

This article was previously published under Q138953
This article has been archived. It is offered "as is" and will no longer be updated.
SYMPTOMS
The Globals folder in the ClassView of Developer's Studio is used todisplay and provide quick access to global identifiers in the currentproject. Identifiers declared as static that have file scope are missingfrom 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.
MORE INFORMATION

Sample Code to Demonstrate Problem

   // Main.cpp   #include <StdIo.h>   ...   static int nGlobalStaticInt;  // Will not show up in Globals Folder   int        nGlobalInt;        // Will show up in Globals Folder   ...   void main(void)   {   }				
Properties

Article ID: 138953 - Last Review: 02/24/2014 08:23:22 - Revision: 4.0

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++, 32-bit Learning Edition 6.0, Microsoft Visual C++ .NET 2002 Standard Edition, Microsoft Visual C++ .NET 2003 Standard Edition, Microsoft Visual C++ 2005 Express Edition

  • kbnosurvey kbarchive kbtshoot kbbug kbnofix kbide kbcode KB138953
Feedback