PWB Does Not Automatically Update Include DependenciesLast reviewed: July 17, 1997Article ID: Q84955 |
1.00 1.10 2.00 2.10.49 | 1.00 1.10
MS-DOS | OS/2kbtool The information in this article applies to:
SUMMARYThe Programmer's WorkBench (PWB) versions 1.0, 1.1, and 2.0 do not automatically update the include dependencies if include statements are added to source code after a program list/project has been saved. The include dependencies are updated when the list is saved again. This is also documented on pages 47-48 of the "Microsoft C/C++ Environment and Tools" manual for version 7.0.
MORE INFORMATIONWhen a project is created, the include dependencies are added to the target dependency blocks. This is done by scanning the source code for #include statements. These statements can occur in source files (suchas .C files), header files (.H files), and resource scripts (.RC files). If #include statements are subsequently added to files in the program list, they are not added to the makefile as dependencies until the program list is edited and saved. No actual changes to the list are required. Saving the list causes the include dependencies to be re-evaluated. To summarize, use the following procedure to update the include dependencies:
In PWB Versions 1.x
In PWB version 2.0
|
Additional reference words: kbinf 1.00 1.10 2.00 7.00 2.1.49 PWBIss
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |