From c35ae089aaa484b72c787625d2dd9a1481fa15b6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 7 Aug 2017 00:33:28 +0300 Subject: Fix old style cast in sdltcpnet.cpp and tinyxml2.inc --- src/utils/xml/tinyxml2.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/utils') diff --git a/src/utils/xml/tinyxml2.inc b/src/utils/xml/tinyxml2.inc index 741cfa623..408638184 100644 --- a/src/utils/xml/tinyxml2.inc +++ b/src/utils/xml/tinyxml2.inc @@ -26,7 +26,10 @@ PRAGMA49(GCC diagnostic push) PRAGMA49(GCC diagnostic ignored "-Wzero-as-null-pointer-constant") PRAGMA49(GCC diagnostic ignored "-Wsuggest-override") +PRAGMACLANG6GCC(GCC diagnostic push) +PRAGMACLANG6GCC(GCC diagnostic ignored "-Wold-style-cast") #include +PRAGMACLANG6GCC(GCC diagnostic pop) PRAGMA49(GCC diagnostic pop) TINYXML2_INCLUDED -- cgit v1.2.3-70-g09d2