Number | Command-Line Warning Message |
D4000 | UNKNOWN COMMAND-LINE WARNING Contact Microsoft Product Support Services |
Note the circumstances of the warning and notify Microsoft Corporation by following the instructions in the Microsoft Product Assistance Request form at the back of one of your manuals. | |
D4001 | listing overrides assembly output |
An assembly listing was not generated because another listing option (/Fc or /Fl) was specified. The other option took effect. | |
For example, the following command line generates this warning:
cl /Fc /Fa program.c |
|
To create both listings, compile separately with each option. | |
Check the CL or FL environment variable for option specifications. | |
D4002 | ignoring unknown option option |
The compiler did not recognize the given command-line option; the option was ignored. | |
Check the CL or FL environment variable for option specifications. | |
D4003 | processor-option conflict |
More than one /Gn option was specified with conflicting values for n. The compiler used the last one specified on the command line. | |
For example, the following command line generates this warning:
cl /G2 /G0 program.c |
|
In this example, the compiler assumed /G0. | |
Check the CL or FL environment variable for option specifications. | |
D4005 | cannot find component; Please enter new filename (full path) or CTRL+C to quit: |
The compiler was unable to find the given component in the current directory or in a directory in the PATH environment variable. | |
Move this file to the current directory or a directory in the current path. If this file cannot be found, run the SETUP program to copy it from the distribution disks. | |
D4007 | option1 requires option2; option ignored |
An option was specified without a required related option. The compiler ignored option1. | |
For example, the following command line generates this warning:
cl /C program.c |
|
In this example, the /C option was given instead of /c. The /C option must be used with /E, /P, or /EP. | |
Check the CL or FL environment variable for option specifications. | |
D4008 | nonstandard model; assuming large model |
A character other than M, L, or H was specified with FL's /A option. FL assumed /AL. | |
D4009 | threshold only for far or huge data; ignored |
A data size threshold was specified for near data. | |
The /Gt command-line option cannot be used in memory models that have a single data segment. Only compact, large, and huge models have multiple data segments and support /Gt. | |
Check the CL or FL environment variable for option specifications. | |
D4011 | preprocessing overrides source listing |
A source listing was not generated because a preprocessor listing option was specified. | |
To generate both a source listing and a preprocessor listing, run CL twice: once with the /Fs (source listing) option and once with the /E, /P, or /EP (preprocessed listing) option. | |
Check the CL or FL environment variable for option specifications. | |
D4012 | function declarations override source listing |
A source listing was not generated because a function prototype listing was requested. | |
To generate both a source listing and a function prototype declaration listing, run CL twice: once with the /Fs (source listing) option and once with the /Zg (function prototype listing) option. | |
Check the CL or FL environment variable for option specifications. | |
D4013 | combined listing overrides object listing |
When /Fc is specified along with /Fl, the combined listing specified by /Fc is created. | |
To generate both a combined listing and an object listing, run CL twice: once with the /Fc (combined listing) option and once with the /Fl (object-code listing) option. | |
Check the CL or FL environment variable for option specifications. | |
D4014 | invalid value number1 for option; assuming number2 |
The given option was specified with an invalid numeric argument. The compiler assumed the value number2. | |
For example, the following command line generates this warning:
cl /Zp3 program.c |
|
In this example, 3 is an invalid value. Valid arguments for the /Zp option are 1, 2, and 4. | |
D4018 | .DEF files supported for segmented executable files only |
A module-definition file was specified on the command line, but an /Lr or /Lc option was also specified. The /Lr and /Lc options are used to create DOS executable files. | |
Module-definition files are used to create EXEs and DLLs for Windows, and the Microsoft DOS Extender. | |
Check the CL or FL environment variable for option specifications. | |
D4019 | string too long; truncated to number characters |
A string longer than 40 characters was specified with the /ND, /NM, /NT, /Ss, or /St option. The compiler truncated the string. | |
D4020 | option : missing argument; option ignored |
A command-line option required an argument, but nothing was specified. CL ignored the option. | |
D4021 | no action performed |
A contradictory set of filenames and switches caused the compiler to perform no operation. | |
This warning can be generated by giving the /c compile-only command-line option and specifying no .C, .CPP, or .CXX files to compile. | |
D4022 | option option invalid for number-bit target |
The given command-line option was not available when generating code for this size target. The option was ignored. | |
This warning can be caused by using the /G3 command-line option from the 16-bit targeted compiler. |