PRB: U1033 from Space After NMAKE Line Continuation CharacterLast reviewed: February 17, 1995Article ID: Q72699 |
The information in this article applies to:
SYMPTOMSAn attempt to use NMAKE to process a makefile fails and NMAKE generates the following message:
fatal error U1033: syntax error : 'string' unexpectedThe 'string' is some part of the makefile that NMAKE determines to be syntactically incorrect.
CAUSEThe makefile contains a line-continuation character (a backslash) and a character other than a carriage return follows the backslash.
RESOLUTIONModify the makefile to remove any characters after the line continuation character. NMAKE interprets the character that follows the backslash literally and does not append the following line as desired. The U1033 error occurs because the following line does not match NMAKE syntax by itself.
MORE INFORMATIONThe sample makefile below illustrates this situation. NMAKE generates the following message when it processes this makefile:
fatal error U1033: syntax error : 'mod3.c' unexpected Sample NMAKE Makefile
CFILES = mod1.c mod2.c \_ mod3.c |
Additional reference words: 1.10 1.20 1.30 1.40 1.50
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |