From 5c0b08f4f5780ca648d37297090b935b4dfc270a Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Sun, 20 Aug 2017 09:51:22 -0700 Subject: [PATCH] Turn off -Wunused-const-variable on Mac. --- config.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.gradle b/config.gradle index f3f9ee2994..63b6df0b61 100644 --- a/config.gradle +++ b/config.gradle @@ -15,7 +15,7 @@ def linuxDebugCompilerArgs = ['-O0'] def linux32BitArg = '-m32' def macCompilerArgs = ['-std=c++11', '-Wall', '-Wextra', '-Werror', '-pedantic-errors', '-fPIC', '-g', - '-Wno-unused-parameter', '-Wno-missing-field-initializers', '-Wno-unused-private-field', '-pthread'] + '-Wno-unused-parameter', '-Wno-missing-field-initializers', '-Wno-unused-private-field', '-Wno-unused-const-variable', '-pthread'] def macReleaseCompilerArgs = ['-O2'] def macDebugCompilerArgs = ['-O0'] def mac32BitArg = '-m32'