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

Unified Diff: gyp/common_conditions.gypi

Issue 2068863002: Added warning for variable-length arrays to GYP (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: Made array size variable 'const' in file triggering -Wvla Created 4 years, 6 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 | « no previous file | src/views/mac/SkNSView.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/common_conditions.gypi
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi
index b4b98902633fb83972c004697846ed1154a96a10..bc36e8a8cc0ceb29c309cf0baf99aefca79d6cbb 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -244,6 +244,7 @@
'-Winit-self',
'-Wpointer-arith',
'-Wsign-compare',
+ '-Wvla',
'-Wno-unused-parameter',
],
@@ -561,6 +562,7 @@
'-Winit-self',
'-Wpointer-arith',
'-Wsign-compare',
+ '-Wvla',
'-Wno-unused-parameter',
],
« no previous file with comments | « no previous file | src/views/mac/SkNSView.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698