Article ID: 151898 - Last Review: July 5, 2005 - Revision: 3.1 BUG: Include Directories Cannot End with a BackslashThis article was previously published under Q151898 On This PageSYMPTOMS The compiler ignores some or all of the Command Line
options that appear after the /I switch. CAUSE The compiler incorrectly parses the additional Include
Directory Command Line switch if its argument ends with a backslash followed by
a quotation mark. The compiler interprets the \" sequence as meaning the path
contains a quotation mark. If you set the additional Include Directories from within Developer Studio, double quotes are automatically placed around the directory name. If there is a backslash at the end of the directory name, this problem occurs. RESOLUTION Remove the trailing backslash character from the Include
Directory. STATUS Microsoft has confirmed this to be a bug in the Microsoft
products listed at the beginning of this article. MORE INFORMATIONSample CodeAPPLIES TO
| Article Translations
|
Back to the top
