Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8857)

Unified Diff: build/config/compiler/BUILD.gn

Issue 1897863006: Replace WTF::Optional the base::Optional implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: wtfoptional: notonclang Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/compiler/BUILD.gn
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 07408d69c64d67f4159ae5b371295b97150f43a4..cf6d8c72da5774522ad0ab713619c1df4453f5b2 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -914,6 +914,10 @@ config("default_warnings") {
# for gcc 4.8.
# TODO: remove this flag once all builds work. See crbug.com/227506
cflags += [ "-Wno-unused-local-typedefs" ]
+
+ # Don't warn about "maybe" uninitialized. Clang doesn't include this
+ # in -Wall but gcc does, and it gives false positives.
+ cflags += [ "-Wno-maybe-uninitialized" ]
}
}
« no previous file with comments | « build/common.gypi ('k') | third_party/WebKit/Source/platform/graphics/gpu/WebGLImageConversion.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698