aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/update-warnings.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/update-warnings.h')
-rw-r--r--src/test/update-warnings.h3
1 files changed, 3 insertions, 0 deletions
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