PATCH: NMAKE 1.4 on Windows 95 Won't Stop on Errors

Last reviewed: October 8, 1997
Article ID: Q132084
The information in this article applies to:
  • The Program Maintenance Utility (NMAKE.EXE) included with: - Microsoft Visual C++ for Windows, versions 1.5, 1.51, 1.52 - Microsoft Visual C++, 32-bit Edition, version 1.0

SYMPTOMS

On Windows 95, NMAKE version 1.4 will not stop building if a command in the makefile returns an error. For example, if the command invokes the Visual C++ compiler (CL.EXE) and the file being compiled causes a compiler error, NMAKE ignores it and continues the build. This is not the expected behavior. By default, NMAKE should stop on error returns from commands in a makefile.

NOTE: The problem occurs only when running NMAKE 1.4 on Windows 95.

RESOLUTION

On Windows 95, use version 1.5 or later of NMAKE.EXE or use NMAKER.EXE.

NOTE: NMAKE version 1.5 is a 32-bit executable that requires a 32-bit operating system. It will not work on Windows version 3.x. You need to continue using NMAKE version 1.4 under Windows version 3.x.

NMAKER.EXE ships with 16-bit Visual C++, versions 1.x, and is in the \MSVC\BIN directory. If you are building external makefiles from within the development environment, you must rename NMAKE.EXE to another filename, and then rename NMAKER.EXE to NMAKE.EXE.

If you own Visual C++, 32-bit edition, version 2.x, NMAKE version 1.5 is available in the \msvc20\bin subdirectory. If you copy NMAKE.EXE to another directory, copy NMAKE.ERR (an error text file for this version of NMAKE) to the same directory.

The following file is available for download from the Microsoft Software Library:

 ~ Nmake15.exe (size: 51928 bytes) 

For more information about downloading files from the Microsoft Software Library, please see the following article in the Microsoft Knowledge Base:

   ARTICLE-ID: Q119591
   TITLE     : How to Obtain Microsoft Support Files from Online Services

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. This problem was corrected in NMAKE version 1.5.


Additional query words: win95 fail fails spawn spawnslaunch launches
Keywords : NmakeIss
Version : WIN3X:1.5,1.51,1.52;WINNT:1.0;
Platform : NT WINDOWS
Issue type : kbfile
Solution Type : kbpatch


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: October 8, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.