BUG: Static Identifiers Do Not Show Up in ClassView

ID: Q138953


The information in this article applies to:
  • Microsoft Visual C++, 32-bit Editions, versions 4.0, 4.1, 4.2, 5.0, 6.0


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.


STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. Microsoft has confirmed this to be a bug in the Microsoft products 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)
   {
   } 

Additional query words:

Keywords : kbcode kbide kbVC kbVC400bug kbVC410bug kbVC420bug kbVC500bug kbVC600bug kbGrpDSTools
Version : winnt:4.0,4.1,4.2,5.0,6.0
Platform : winnt
Issue type : kbbug


Last Reviewed: May 28, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.