The information in this article applies to:
SYMPTOMSWhen compiling the source below using precompiled headers, you may get the following error from the C/C++ compiler for MS-DOS under Windows: or the following error from the C/C++ compiler for MS-DOS under Windows NT: or the following errors when compiling with Microsoft Visual C++, 32-bit Edition, versions 1.0 and 2.0: or the following errors when compiling with Microsoft Visual C++, 32-bit Edition, version 4.0,
CAUSEThe problem is in using a defined constant to specify an include file in the #include directive. The directive is being processed before the macro is completely expanded, resulting in the error. MORE INFORMATIONThe following sample code can be used to demonstrate the problem. Sample Code
FIRST.H
SECOND.H
STOP.H
TEST.CPP
Additional query words: 8.00 8.00c 9.00 1.00 1.50 2.00 4.00
Keywords : kbCompiler |
Last Reviewed: February 2, 2000 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |