Suppress GCC deprecated-declarations warning for tests
diff --git a/src/jsontestrunner/main.cpp b/src/jsontestrunner/main.cpp
index c4cfa05..d24d7cf 100644
--- a/src/jsontestrunner/main.cpp
+++ b/src/jsontestrunner/main.cpp
@@ -3,6 +3,9 @@
// recognized in your jurisdiction.
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wdeprecated-declarations"
+
/* This executable is used for testing parser/writer using real JSON files.
*/
@@ -324,3 +327,5 @@
return 1;
}
}
+
+#pragma GCC diagnostic pop