This documentation is archived and is not being maintained.

Command-Line Warning D9007

Visual Studio 2008
'option1' requires 'option2'; option ignored

An option was specified without a required related option. The compiler ignored option1.

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.