Microsoft KB Archive/132084

= NMAKE 1.4 on Windows 95 Won't Stop on Errors =

Article ID: 132084

Article Last Modified on 8/9/2004

-

APPLIES TO


 * Microsoft Visual C++ 1.52 Professional Edition
 * Microsoft Visual C++ 1.5 Professional Edition
 * Microsoft Visual C++ 1.51

-



This article was previously published under Q132084



SUMMARY
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. 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.



MORE INFORMATION
The following files are available for download from the Microsoft Download Center:

Nmake15.exe

For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to Obtain Microsoft Support Files from Online Services

Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file. 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: kbinfo kbfile KB132084

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.