INFO: Installing VJ++ Upgrades Certain VC++ Components (157618)



The information in this article applies to:

  • Microsoft Visual J++ 1.0
  • Microsoft Visual C++ 4.0
  • Microsoft Visual C++ 4.1
  • Microsoft Visual C++, Macintosh Cross-Development Addon 4.0
  • Microsoft Fortran Powerstation 32 for Windows NT 4.0

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 latest Knowledge Base articles and other support information on Visual J++ and the SDK for Java, see the following page on the Microsoft Technical Support site:

Modification Type:MinorLast Reviewed:8/25/2005
Keywords:kbArtTypeINF kbinfo kbsetup kbusage KB157618