Define -fatal-warnings to make warnings fatal, and accept /WX as an ML.EXE compatible alias for it.
Also make sure that if Warning() returns true, we always treat it as an error.
Differential D92504
[ms] [llvm-ml] Accept /WX to signal that warnings should be fatal. epastor on Dec 2 2020, 1:04 PM. Authored by
Details Define -fatal-warnings to make warnings fatal, and accept /WX as an ML.EXE compatible alias for it. Also make sure that if Warning() returns true, we always treat it as an error.
Diff Detail
Unit Tests
Event Timeline |