From 3ff8afcb7b355180f4c2fa277b1c8756a637f101 Mon Sep 17 00:00:00 2001 From: bkaradzic Date: Wed, 20 Aug 2014 21:07:35 -0700 Subject: [PATCH] Disabled clang warnings in glsl-optimizer. --- 3rdparty/glsl-optimizer/include/c99_compat.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/3rdparty/glsl-optimizer/include/c99_compat.h b/3rdparty/glsl-optimizer/include/c99_compat.h index 95f4788f..ae23e191 100644 --- a/3rdparty/glsl-optimizer/include/c99_compat.h +++ b/3rdparty/glsl-optimizer/include/c99_compat.h @@ -66,14 +66,19 @@ # define _CRTRESTRICT #else // BK - STFU! +# pragma GCC diagnostic ignored "-Wunknown-pragmas" # pragma GCC diagnostic ignored "-Wformat=" # pragma GCC diagnostic ignored "-Wformat-extra-args" # pragma GCC diagnostic ignored "-Wignored-qualifiers" # pragma GCC diagnostic ignored "-Wmaybe-uninitialized" # pragma GCC diagnostic ignored "-Wmissing-field-initializers" # pragma GCC diagnostic ignored "-Wreorder" +# pragma GCC diagnostic ignored "-Woverloaded-virtual" +//# pragma GCC diagnostic ignored "-Wparentheses-equality" # pragma GCC diagnostic ignored "-Wsign-compare" +# pragma GCC diagnostic ignored "-Wunneeded-internal-declaration" # pragma GCC diagnostic ignored "-Wunused-parameter" +# pragma GCC diagnostic ignored "-Wunused-private-field" # pragma GCC diagnostic ignored "-Wunused-variable" #endif