From f3f8e348a1930dc5bd3f96f28b176e25402aee56 Mon Sep 17 00:00:00 2001 From: "Thiago Marcos P. Santos" Date: Wed, 11 Mar 2015 14:37:28 +0200 Subject: Fix build warnings on GCC Apperently boost has a few quirks on its headers. --- bin/render.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'bin') diff --git a/bin/render.cpp b/bin/render.cpp index fad6600cf7..9129a4bcfa 100644 --- a/bin/render.cpp +++ b/bin/render.cpp @@ -14,7 +14,14 @@ #include #endif +#pragma GCC diagnostic push +#ifndef __clang__ +#pragma GCC diagnostic ignored "-Wunused-local-typedefs" +#pragma GCC diagnostic ignored "-Wshadow" +#endif #include +#pragma GCC diagnostic pop + namespace po = boost::program_options; #include -- cgit v1.2.1