Q57500: Redirecting NMAKE 1.00/1.01 Output with -p Gives False Errors
Article: Q57500
Product(s): See article
Version(s): 1.00 1.01
Operating System(s): MS-DOS
Keyword(s): ENDUSER | buglist1.00 buglist1.01 fixlist 1.11 | mspl13_basic
Last Modified: 24-JAN-1991
Redirecting the output of NMAKE version 1.00 or 1.01 can cause
inference rules to fail if all of the following conditions are met:
1. The inference rules are in uppercase letters.
2. The -p option is used.
3. The output is redirected.
This problem is somewhat obscure, and it can be frustrating if you
unwittingly meet all of these conditions. The error message displayed
depends on the inference rule used, but it resembles the following:
NMAKE : warning U4017: ignoring rule .C.OBJ (extension not in
.SUFFIXES)
The above error message is displayed with the following description
file initiated with the command "NMAKE -p > out.txt":
Description File
----------------
# start
.C.OBJ:
cl $*
main.obj : main.c
# end
Microsoft has confirmed this to be a problem in NMAKE versions 1.00
and 1.01. This problem was corrected in NMAKE version 1.11.
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.
Copyright Microsoft Corporation 1986-2002.