summaryrefslogtreecommitdiff
path: root/sdext/source
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-08 10:34:34 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-12 08:53:33 +0100
commit72137b44ff5db6893bf49277ab4d99b16365c34f (patch)
tree9e58316e5989d3682a83a4e2db1af03c7b9f32cb /sdext/source
parent76e17e8c124996b74fdcc2447d0ca18ccf5ed5cb (diff)
suppress errors with -Werror
Diffstat (limited to 'sdext/source')
-rw-r--r--sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
index 3f1261c9413b..77e589620295 100644
--- a/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
+++ b/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx
@@ -56,8 +56,12 @@
#ifdef WNT
# define snprintf _snprintf
-#endif
+#if defined GCC
+#pragma GCC diagnostic warning "-Wformat"
+#pragma GCC diagnostic warning "-Wformat-extra-args"
+#endif
+#endif
/* SYNC STREAMS
============