summaryrefslogtreecommitdiff
path: root/tests/test_deprecated.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_deprecated.cpp')
-rw-r--r--tests/test_deprecated.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/test_deprecated.cpp b/tests/test_deprecated.cpp
index 95e78f5..09509bf 100644
--- a/tests/test_deprecated.cpp
+++ b/tests/test_deprecated.cpp
@@ -13,6 +13,12 @@
# pragma warning(disable: 4996)
#endif
+#ifdef __GNUC__
+# if __GNUC__ >= 4
+# pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+# endif
+#endif
+
// format_write_bom_utf8 - it's now format_write_bom!
TEST_XML(document_save_bom_utf8, "<node/>")
{