From 142b59246e13b6801f49d79bd029f57fdd2f7d45 Mon Sep 17 00:00:00 2001 From: Mike Morris Date: Tue, 22 Sep 2015 17:31:00 -0400 Subject: [osx] disable -Wunused-local-typedefs Fixes OS X builds with Xcode 7, necessitated by https://svn.boost.org/trac/boost/ticket/11240 --- bin/render.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/render.cpp b/bin/render.cpp index 3da0c93586..2248d86035 100644 --- a/bin/render.cpp +++ b/bin/render.cpp @@ -9,13 +9,17 @@ #include #include +#pragma clang diagnostic push #pragma GCC diagnostic push -#ifndef __clang__ +#ifdef __clang__ +#pragma clang diagnostic ignored "-Wunused-local-typedefs" +#else #pragma GCC diagnostic ignored "-Wunused-local-typedefs" #pragma GCC diagnostic ignored "-Wshadow" #endif #include #pragma GCC diagnostic pop +#pragma clang diagnostic pop namespace po = boost::program_options; -- cgit v1.2.1