From 115e925dc85f3c6dbb140a2c1be3309ff72d3d8b Mon Sep 17 00:00:00 2001 From: dvonbeck Date: Wed, 15 Jun 2016 09:13:50 -0700 Subject: Added warning for variable-length arrays to GYP, since they are unsupprted under Win targets BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2068863002 Review-Url: https://codereview.chromium.org/2068863002 --- gyp/common_conditions.gypi | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gyp') diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi index b4b9890263..bc36e8a8cc 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', ], -- cgit v1.2.3