CMake shouldn't add /W3 in Windows-MSVC.cmake
When trying to compile with
/W4 turned on, I noticed that MSVC emitted the following warning:
cl : Command line warning D9025 : overriding '/W3' with '/W4'
It turns out that this
/W3 flag comes from Windows-MSVC.cmake.
As far as I can tell, it's impossible to get MSVC to ignore D9025, and it would be undesirable to turn off the warning anyway. CMake shouldn't be adding warning flags by default. It should leave that up to the user.