The information in this article applies to:
SYMPTOMS
When using an NMAKE file in combination with adding /Fa to the
compiler options within Programmer's WorkBench (PWB) or Visual Workbench,
NMAKE will invoke the Microsoft Macro Assembler (MASM), if it is in the
current search path.
CAUSEFiles with the .ASM extension have a predefined inference rule within NMAKE to invoke MASM. However, the inference rule for .ASM files takes place before the rule for files with the .C or .OBJ extension. Therefore, if you have a filename with the same base name, but one has an .ASM extension and the other has a .C extension (as is the case with the /FA switch), the .ASM file will be assembled before the .C file will be compiled. Since the assembly step generates an .OBJ file that is newer than the .C file, the .C file is never compiled. RESOLUTIONUse the following procedures to work around this behavior:
Additional query words: 1.10 1.20 1.30 1.40
Keywords : kb16bitonly |
Last Reviewed: October 28, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |