ID Number: Q40837
5.00 5.10 6.00 6.00a 6.00ax | 5.10 6.00 6.00a
MS-DOS | OS/2
Summary:
There is a maximum number of directories you can set in both the
compile line and the INCLUDE environment variable. The combined
maximum is 15 for Microsoft C version 5.1 and 31 for Microsoft C
version 6.0. In version 5.1, exceeding the maximum can cause the error
U1013 or U1077 in a MAKE file; no error message is given if the
compile line is typed in directly from the MS-DOS prompt (the program
just fails to compile). In version 6.0, the compiler generates the
error:
Command line error D2008 : limit of -I exceeded at '<directory name>'
This limits apply to both Ms-DOS and OS/2.
Note: If you have (limit - 1) directories in your include environment
variable and add several others at the command line (with one /I, as
opposed to using a /I for every directory), you could break this
boundary. However, you should normally avoid using more than the limit
allows.
Additional reference words: 5.10 6.00 6.00a 6.00ax