Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build: Use /W4 instead of /Wall on MSVC #13

Merged
merged 1 commit into from
Jan 7, 2019

Conversation

fujimotos
Copy link
Member

The problem is that /Wall is too much verbose on Windows, giving us a
lot of unhelpful feedbacks.

Now, the official VC++ manual recommends to use /W4. Let's just switch
to it.

We recommend that you use this option to provide lint-like warnings.
For a new project, it may be best to use /W4 in all compilations;
this will ensure the fewest possible hard-to-find code defects.

https://docs.microsoft.com/en-us/cpp/build/reference/compiler-option-warning-level

Main issue link: fluent/fluent-bit#960

The problem is that /Wall is too much verbose on Windows, giving us a
lot of unhelpful feedbacks.

Now, the official VC++ manual recommends to use /W4. Let's just switch
to it.

> We recommend that you use this option to provide lint-like warnings.
> For a new project, it may be best to use /W4 in all compilations;
> this will ensure the fewest possible hard-to-find code defects.
>
> https://docs.microsoft.com/en-us/cpp/build/reference/compiler-option-warning-level

Signed-off-by: Fujimoto Seiji <[email protected]>
@edsiper edsiper merged commit 496c2aa into fluent:master Jan 7, 2019
@fujimotos fujimotos deleted the sf/msvc-warn branch January 8, 2019 05:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants