Skip to content

Commit 5cbb921

Browse files
committed
Switch MSVC from /Wall to /W4
Apparently 4 is recommended by Microsoft! https://msdn.microsoft.com/en-us/library/thxezb7y.aspx
1 parent faec391 commit 5cbb921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ impl ToolFamily {
199199

200200
/// What the flags to enable all warnings
201201
fn warnings_flags(&self) -> &'static [&'static str] {
202-
static MSVC_FLAGS: &'static [&'static str] = &["/Wall"];
202+
static MSVC_FLAGS: &'static [&'static str] = &["/W4"];
203203
static GNU_CLANG_FLAGS: &'static [&'static str] = &["-Wall", "-Wextra"];
204204

205205
match *self {

0 commit comments

Comments
 (0)