BUG: Exported Make Files with Browse Info Are Rebuilt Twice (168381)
The information in this article applies to:
- The Program Maintenance Utility (NMAKE.EXE), when used with:
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Enterprise Edition 6.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 6.0
- Microsoft Visual C++, 32-bit Learning Edition 6.0
This article was previously published under Q168381 SYMPTOMS
Visual C++ 5.0 or 6.0 can create .mak files for a project through the Export
Makefile command from the Project menu. When you use the rebuild option
(/A) in Nmake.exe version 1.62, projects exported from Visual C++ 5.0 or 6.0 that
contain source browser information will attempt to rebuild the project
twice.
RESOLUTION
The main side effect of this problem is that it takes longer to build an
application using NMAKE. Use one of the following three suggested workarounds:
- Build the project from Developer Studio.
- Turn off browser information, export the .mak file, and rebuild from
the command line using NMAKE. A .bsc file containing browser
information is not created.
- Build using NMAKE /f project.mak CLEAN=1. The effect of the CLEAN=1
parameter is the same as using the /a switch, but this method works
around the bug and causes the targets to be built only once.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article.
Modification Type: | Minor | Last Reviewed: | 3/7/2005 |
---|
Keywords: | kbBug kbide kbNoUpdate KB168381 |
---|
|