BUG: Spaces Preceding Header File Name Generate Build Errors (121346)
The information in this article applies to:
- Microsoft Visual C++ 1.0
- Microsoft Visual C++ 1.5
- Microsoft Visual C++ 1.51
- Microsoft Visual C++ 2.0
- Microsoft Visual C++ 2.1
- Microsoft Visual C++ 4.0
- Microsoft Visual C++ 4.1
- Microsoft Visual C++, 32-bit Enterprise Edition 5.0
- Microsoft Visual C++, 32-bit Professional Edition 5.0
This 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++.
Modification Type: | Major | Last Reviewed: | 12/1/2003 |
---|
Keywords: | kbBug kbCompiler kbide kbpending KB121346 |
---|
|