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

ID: Q157618

The information in this article applies to:

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:

   http://support.microsoft.com/support/visualj/ 
   http://support.microsoft.com/support/java/ 

Keywords          : kbsetup kbusage kbGenInfo kbVJ 
Version           : 1.0 4.0 4.1
Platform          : MACINTOSH NT WINDOWS
Issue type        : kbinfo

Last Reviewed: January 31, 1998