From c367cf3b3a09f1f0a5abdf44c25a1d016857b022 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sat, 13 Sep 2014 11:36:04 +0200 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/test/update-warnings.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/test/update-warnings.h') diff --git a/src/test/update-warnings.h b/src/test/update-warnings.h index b400fe3..36d8940 100644 --- a/src/test/update-warnings.h +++ b/src/test/update-warnings.h @@ -44,6 +44,8 @@ */ #ifdef __GCC__ +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wcpp" # if LIBGAMMA_ERROR_MIN < -46 # warning New error codes have been added to libgamma. # endif @@ -59,6 +61,7 @@ # if LIBGAMMA_CRTC_INFO_COUNT > 13 # warning New CRTC information fields have been added to libgamma. # endif +# pragma GCC diagnostic pop #endif -- cgit v1.2.3-70-g09d2