w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
Visual Studio: Command line error D8016: '/Ox' and '/RTC' command-line options are incompatible

Per the MSDN documentation: you can't use the /RTC with /O Options (Optimize Code).

If you want to use optimizations, turn off the /RTC flag (or turn off optimizations of your want run time checks).

Or to avoid it all, create separate build configurations that have the separate flags as needed (like a debug and release build).

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.