Ignore Clang's -Wdeprecated-register for flex-generated code
authorRoland McGrath <mcgrathr@google.com>
Fri, 17 Mar 2017 21:34:00 +0000 (14:34 -0700)
committerSkia Commit-Bot <skia-commit-bot@chromium.org>
Mon, 20 Mar 2017 18:44:56 +0000 (18:44 +0000)
This change fixes the Fuchsia build.

Change-Id: I9342e5aacf75067f01aff883ccf100d11b8f4462
Reviewed-on: https://skia-review.googlesource.com/9849
Reviewed-by: Michael Jurka <mikejurka@google.com>
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>

src/sksl/disable_flex_warnings.h

index 2b6e852..fa11eda 100644 (file)
@@ -13,6 +13,7 @@
 #pragma clang diagnostic ignored "-Wnull-conversion"
 #pragma clang diagnostic ignored "-Wsign-compare"
 #pragma clang diagnostic ignored "-Wunused-function"
+#pragma clang diagnostic ignored "-Wdeprecated-register"
 #endif
 #ifdef __GNUC__
 #pragma GCC diagnostic push