Microsoft KB Archive/157618

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 09:14, 21 July 2020 by X010 (talk | contribs) (Text replacement - """ to """)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


INFO: Installing VJ++ Upgrades Certain VC++ Components

Article ID: 157618

Article Last Modified on 5/12/2007



APPLIES TO

  • Microsoft Visual J++ 1.0 Standard Edition
  • Microsoft Visual C++ 4.0 Standard Edition
  • Microsoft Visual C++ 4.1 Subscription
  • Microsoft Visual C++ 4.0 Cross Development Edition for Macintosh
  • Microsoft FORTRAN PowerStation 32



This article was previously published under Q157618

SUMMARY

Installing Visual J++ (VJ++) on a machine that has Visual C++ 4.0 or 4.1 installed upgrades the Developer Studio and certain C/C++ compiler components. This is necessary to maintain compatibility between the compiler, the debugger, and the new version of the Developer Studio. It is recommended that you upgrade to Visual C++ 4.2, but not necessary.

MORE INFORMATION

If you continue using an earlier version of Visual C++, you should be aware that some of the C/C++ compiler components were upgraded to Visual C++ 4.2. The newer compiler introduces bug fixes and new features that may produce different compiler warnings or errors when building your existing projects.

For example, the Visual C++ 4.0 and 4.1 system header files are still using the bool keyword as a typedef name. The new components of the Visual C++ 4.2 compiler do not support the bool keyword and, as a result, issue the following Compiler Error:

C2328 'bool' : keyword is not yet supported

A workaround for this problem is to rename the symbol at compile time with the flag "-Dbool=Bool." This can be added to the Build.Settings and should inhibit the error.

VJ++ 1.0 also upgrades similar components for earlier versions of the Fortran PowerStation and the Macintosh Cross-Development products.

This problem does not occur under Visual J++ 1.1 and Visual C++ 5.0

REFERENCES

For the support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:

Keywords: kbarttypeinf kbinfo kbsetup kbusage KB157618