From c28fa9a0cadde3f0e5fce7378cc1c7d5d57602d3 Mon Sep 17 00:00:00 2001 From: David Williams Date: Thu, 28 Feb 2013 13:42:02 +0100 Subject: [PATCH] It seems that GCC 4.3.5 (on the CDash machine) doesn't recognise ignoring the 'enum-compare' warning. This commit should switch of all warnings instead (just for this file). --- library/PolyVoxCore/source/MinizCompressor.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/PolyVoxCore/source/MinizCompressor.cpp b/library/PolyVoxCore/source/MinizCompressor.cpp index 5fb1b7b5..827c2817 100644 --- a/library/PolyVoxCore/source/MinizCompressor.cpp +++ b/library/PolyVoxCore/source/MinizCompressor.cpp @@ -12,11 +12,12 @@ #define MINIZ_NO_MALLOC #include "PolyVoxCore/Impl/ErrorHandling.h" + // For some unknown reason the miniz library is supplied only as a // single .c file without a header. Apparently the only way to use // it is then to #include it directly which is what the examples do. // We also disable some warnings as I don't want to fix external code. -#pragma GCC diagnostic ignored "-Wenum-compare" +#pragma GCC diagnostic ignored "-Wall" #include "PolyVoxCore/Impl/miniz.c"