BUG: Visual Workbench May Report Wrong Number of Errors
  
PSS ID Number: Q121014
Article last modified on 10-12-1995
 
1.00 1.50 2.00
 
WINDOWS NT
 

---------------------------------------------------------------------
The information in this article applies to:
 
 - The Visual Workbench included with:
 
    - Microsoft Visual C++ for Windows, versions 1.0 and 1.5
    - Microsoft Visual C++, 32-bit Edition, versions 1.0 and 2.0
---------------------------------------------------------------------
 
SYMPTOMS
========
 
In rare cases, the Visual Workbench reports that a number of errors
occurred during the build process, but it displays no error messages. This
behavior may occur when you build a project from the Visual Workbench using
an external makefile. The build process seems to have been successful and
the target file appears to have been built correctly.
 
CAUSE
=====
 
The Visual Workbench error-parsing engine looks for patterns involving
the word "error." It interprets the occurrences of the word "error" in
the Visual Workbench output window as the number of errors that
occurred during the build process.
 
RESOLUTION
==========
 
When this problem occurs, it does not mean the build process failed.
Check the project directory. If the target .EXE or .DLL file was built
correctly, ignore the misleading information.
 
To verify that the build is correct, use NMAKE to build the project
from the command line. Build the project using this command:
 
   nmake /f project.mak
 
To force a rebuild of all the modules in the project, add the /a option:
 
   nmake /a /f project.mak
 
STATUS
======
 
Microsoft has confirmed this to be a bug in the products listed at the
beginning of this article. We are researching this problem and will post
new information here in the Microsoft Knowledge Base as it becomes
available.
 
Additional reference words: 1.00 1.10 1.50 2.00
KBCategory: kbtool kbbuglist
KBSubCategory: VWBIss
=============================================================================
Copyright Microsoft Corporation 1995.
