Specifications
NMAKE Messages Page 3 of 12
NMAKE Fatal Error U1024
illegal argument to !CMDSWITCHES
An unrecognized command switch was specified.
NMAKE Fatal Error U1025
syntax error : !ENDIF unexpected
An !ENDIF directive was found that was not preceded by an !IF directive, or the directive was placed
in a syntactically incorrect place. The !IF preprocessing directives include !IF, !IFDEF, !IFNDEF,
!ELSE IF, !ELSE IFDEF, and !ELSE IFNDEF.
NMAKE Fatal Error U1031
filename missing (or macro is null)
An !INCLUDE directive was found, but the name of the file to be included was missing or a macro
representing the filename expanded to nothing.
NMAKE Fatal Error U1033
syntax error : ’string’ unexpected
The given string is not part of the valid syntax for a makefile. The following are examples of causes
and results of this error:
If the closing set of angle brackets (<<) for an inline file are not at the beginning of a line, the
following error occurs: syntax error : ’EOF’ unexpected
If a macro definition in the makefile contained an equal sign (=) without a preceding name or if
the name being defined is a macro that expands to nothing, the following error occurs: syntax
error : ’=’ unexpected
If the semicolon (;) in a comment line in TOOLS.INI is not at the beginning of the line, the
following error occurs: syntax error : ’;’ unexpected
If the makefile has been formatted by a word processor, the following error can occur: syntax
error : ’:’ unexpected
NMAKE Fatal Error U1034
syntax error : separator missing
The colon (:) that separates targets and dependents is missing.
NMAKE Fatal Error U1035
syntax error : expected ’:’ or ’=’ separator
Either a colon (:) or an equal sign (=) was expected. Possible causes include the following:
A target was not followed by a colon.
A single-letter target was followed by a colon and no space (such as a:). NMAKE interpreted it
as a drive specification.
An inference rule was not followed by a colon.
A macro definition was not followed by an equal sign.
A character followed a backslash (\) that was used to continue a command to a new line.
A string appeared that did not follow any NMAKE syntax rule.
The makefile was formatted by a word processor.
NMAKE Fatal Error U1036










