Article ID: 121346 - Last Review: December 1, 2003 - Revision: 2.0 BUG: Spaces Preceding Header File Name Generate Build ErrorsThis article was previously published under Q121346 SYMPTOMS
The following dependency scan errors and/or compiler C1083 errors are
generated when you attempt to scan dependencies or compile a header file
that contains an #include directive with leading spaces in the file name:
RESOLUTION
Delete the space(s) preceding the filename in the #include directive.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed
at the beginning of this article. In the 32-bit versions of windows, spaces are valid characters in the file names. This is by design in the 32-bit versions of Visual C++. MORE INFORMATION
To reproduce this error, create a text file called TEST.H and include this
file in your source file with this statement:
APPLIES TO
| Article Translations
|

Back to the top
