Muokkaa

Jaa


Command-Line Error D8016

'option1' and 'option2' command-line options are incompatible

The command-line options cannot be specified together.

Check environment variables, such as CL, for option specifications.

/clr implies /EHa, and you cannot specify any other /EH compiler option with /clr. For more information, see /clr (Common Language Runtime Compilation).

You may get D8016 after updating a Visual C++ 6.0 project: the project update wizard process may enable /RTC for each source code file in the project, which overrides the /RTC setting for the project. To resolve, change the /RTC setting for each source code file in the project to the default setting, which means the project setting for /RTC will be in effect for each file.

See /RTC (Run-Time Error Checks) for information on changing the /RTC property setting.