| Index: build/config/compiler/BUILD.gn
|
| diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
| index 0145175ae39a66ba6de1c9ee7f6a99def10aabac..fc6479c87b5dc60b839ec8319d389003aadb97bc 100644
|
| --- a/build/config/compiler/BUILD.gn
|
| +++ b/build/config/compiler/BUILD.gn
|
| @@ -726,6 +726,7 @@ config("default_warnings") {
|
| if (is_win) {
|
| cflags = [
|
| "/WX", # Treat warnings as errors.
|
| +
|
| # Warnings permanently disabled:
|
|
|
| # TODO(GYP) The GYP build doesn't have this globally enabled but disabled
|
| @@ -780,6 +781,7 @@ config("default_warnings") {
|
| # have to turn off this warning (and be careful about how object
|
| # destruction happens in such cases).
|
| "/wd4611",
|
| +
|
| # Warnings to evaluate and possibly fix/reenable later:
|
|
|
| "/wd4100", # Unreferenced formal function parameter.
|
| @@ -923,6 +925,8 @@ config("wexit_time_destructors") {
|
| #
|
| # Note that this can be applied regardless of platform and architecture to
|
| # clean up the call sites. This will only apply the flag when necessary.
|
| +#
|
| +# TODO(jschuh): crbug.com/167187 fix this and delete this config.
|
| config("no_size_t_to_int_warning") {
|
| if (is_win && current_cpu == "x64") {
|
| cflags = [ "/wd4267" ]
|
|
|