This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
Compiler Error C2220
warning treated as error - no object file generated
/WX tells the compiler to treat all warnings as errors.
Possible solutions
- Fix the problem that caused the warning.
- Compile at a lower warning level.
- Compile without /WX.