From f216d82052b8977080dc325d104ee66897b07c56 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 May 2018 08:46:37 +0300 Subject: Fix warnings in new clang5 builds. --- src/unittests/utils/dumplibs.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/unittests') diff --git a/src/unittests/utils/dumplibs.cc b/src/unittests/utils/dumplibs.cc index 475b2e371..e7b68e470 100644 --- a/src/unittests/utils/dumplibs.cc +++ b/src/unittests/utils/dumplibs.cc @@ -26,10 +26,13 @@ PRAGMA48(GCC diagnostic push) PRAGMA48(GCC diagnostic ignored "-Wshadow") #include #include +PRAGMACLANG5(GCC diagnostic push) +PRAGMACLANG5(GCC diagnostic ignored "-Wzero-as-null-pointer-constant") PRAGMACLANG6GCC(GCC diagnostic push) PRAGMACLANG6GCC(GCC diagnostic ignored "-Wold-style-cast") #include PRAGMACLANG6GCC(GCC diagnostic pop) +PRAGMACLANG5(GCC diagnostic pop) #include PRAGMA48(GCC diagnostic pop) -- cgit v1.2.3-60-g2f50