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

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: 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 | no next file » | 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..c733833d549a1fb01063558946df41627bb578fa 100644
--- a/gyp/common_conditions.gypi
+++ b/gyp/common_conditions.gypi
@@ -246,6 +246,7 @@
'-Wsign-compare',
'-Wno-unused-parameter',
+ '-Wvla',
mtklein 2016/06/15 14:43:27 You might want to have these match the indentation
dvonbeck 2016/06/15 14:59:03 Oops I didn't notice. Done!
],
'cflags_cc': [
'-std=c++11',
@@ -561,6 +562,7 @@
'-Winit-self',
'-Wpointer-arith',
'-Wsign-compare',
+ '-Wvla',
'-Wno-unused-parameter',
],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698