diff options
author | 2016-06-15 09:13:50 -0700 | |
---|---|---|
committer | 2016-06-15 09:13:51 -0700 | |
commit | 115e925dc85f3c6dbb140a2c1be3309ff72d3d8b (patch) | |
tree | 8d4a9a4a361912ed58b1d06a9caa2cd7d7e362ed /gyp | |
parent | 9bd4c693020bb440464ae12ae05e8e8f97568ee0 (diff) |
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
Diffstat (limited to 'gyp')
-rw-r--r-- | gyp/common_conditions.gypi | 2 |
1 files changed, 2 insertions, 0 deletions
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', ], |