diff options
author | Benjamin Barenblat <bbaren@google.com> | 2018-07-11 12:16:15 -0400 |
---|---|---|
committer | Benjamin Barenblat <bbaren@google.com> | 2018-07-11 12:16:15 -0400 |
commit | 582d3c5dd75c52e3e147d4aedd8542701093921e (patch) | |
tree | 74fe45ea33ccb4ae295f5359d875ac345db8d837 | |
parent | b908add40f0d4eac6a8a10da8a3a6c25bec744cc (diff) |
Objective-C protobuf uses VLAs for performance reasons. Ensure Clang
doesn’t complain about them.
-rw-r--r-- | BUILD | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -934,6 +934,9 @@ OBJC_SRCS = [ objc_library( name = "objectivec", hdrs = OBJC_HDRS + OBJC_PRIVATE_HDRS, + copts = [ + "-Wno-vla", + ], includes = [ "objectivec", ], |