diff --git a/3rdparty/glsl-optimizer/include/c99_compat.h b/3rdparty/glsl-optimizer/include/c99_compat.h index ae23e191..543812ad 100644 --- a/3rdparty/glsl-optimizer/include/c99_compat.h +++ b/3rdparty/glsl-optimizer/include/c99_compat.h @@ -66,7 +66,8 @@ # define _CRTRESTRICT #else // BK - STFU! -# pragma GCC diagnostic ignored "-Wunknown-pragmas" +# pragma GCC diagnostic ignored "-Wunknown-pragmas" // for clang to disable GCC pragmas +# pragma GCC diagnostic ignored "-Wpragmas" // for GCC to disable clang pragmas # pragma GCC diagnostic ignored "-Wformat=" # pragma GCC diagnostic ignored "-Wformat-extra-args" # pragma GCC diagnostic ignored "-Wignored-qualifiers" @@ -74,7 +75,6 @@ # 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"