File tree 2 files changed +10
-0
lines changed 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 3
3
// recognized in your jurisdiction.
4
4
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5
5
6
+ #pragma GCC diagnostic push
7
+ #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
8
+
6
9
/* This executable is used for testing parser/writer using real JSON files.
7
10
*/
8
11
@@ -324,3 +327,5 @@ int main(int argc, const char* argv[]) {
324
327
return 1 ;
325
328
}
326
329
}
330
+
331
+ #pragma GCC diagnostic pop
Original file line number Diff line number Diff line change 3
3
// recognized in your jurisdiction.
4
4
// See file LICENSE for detail or copy at http://jsoncpp.sourceforge.net/LICENSE
5
5
6
+ #pragma GCC diagnostic push
7
+ #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
8
+
6
9
#include " jsontest.h"
7
10
#include < json/config.h>
8
11
#include < json/json.h>
@@ -2587,3 +2590,5 @@ int main(int argc, const char* argv[]) {
2587
2590
2588
2591
return runner.runCommandLine (argc, argv);
2589
2592
}
2593
+
2594
+ #pragma GCC diagnostic pop
You can’t perform that action at this time.
0 commit comments