From 7379d2cf98805d91e933bdacf5f8d8f3bdf1083c Mon Sep 17 00:00:00 2001 From: Michael Stahl Date: Thu, 14 Nov 2013 15:51:48 +0100 Subject: [PATCH] GCC diagnostic push / pop requires HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE Change-Id: I0765649b94b370caf92a29a8ff2224e335196612 --- sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx index 9e34d4bf23c7..f7e4a9859653 100644 --- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx +++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.hxx @@ -23,7 +23,7 @@ #include #if defined __GNUC__ -#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY +#if HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE # pragma GCC diagnostic push # pragma GCC diagnostic ignored "-Wunused-parameter" #endif @@ -43,7 +43,7 @@ #include "PDFDoc.h" #if defined __GNUC__ -#if HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY +#if HAVE_GCC_PRAGMA_DIAGNOSTIC_SCOPE # pragma GCC diagnostic pop #endif #elif defined __SUNPRO_CC