The information in this article applies to:
SYMPTOMSCombining compiler switches /Yc and /Yu with the /YX option causes the following error:
CAUSEIn the example given in the More Information section, the /YX switch forces a new PCH file to be generated for the newly added source file. The project files that use the /Yu switch are dependent on the file built using the /Yc compiler switch. They will be recompiled because the precompiled header is newer than their OBJ files. The error is generated because the requirements for the PCH files are not met. STATUSMicrosoft has confirmed this to be a bug in the products listed at the beginning of this article. This problem was corrected in Microsoft Visual C++, version 6.0. MORE INFORMATIONSteps to Reproduce ProblemThis problem can be demonstrated using the SCRIBBLE, step 7, project; it uses the /Yc and /Yu switches.
NOTE: If the source file added to the SCRIBBLE project is a C source file, not a C++ source, the error build error generated will be as follows:
Additional query words: kbVC400bug
Keywords : kbide kbVC kbVC500bug kbVC600fix kbGrpDSTools |
Last Reviewed: August 3, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |