From a344b0036c91ae0b9591803a0e18356bf8f37697 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 30 Apr 2016 17:49:50 +0300 Subject: Add macro with pragma for clang with some versions. --- src/utils/process.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/utils') diff --git a/src/utils/process.cpp b/src/utils/process.cpp index a1c9d8a72..72deaad5b 100644 --- a/src/utils/process.cpp +++ b/src/utils/process.cpp @@ -212,10 +212,10 @@ bool execFile(const std::string &pathName, const std::string &name, arg2.c_str(), static_cast(nullptr)); } _exit(-1); - PRAGMA45(GCC diagnostic push) - PRAGMA45(GCC diagnostic ignored "-Wunreachable-code-return") + PRAGMACLANG6(GCC diagnostic push) + PRAGMACLANG6(GCC diagnostic ignored "-Wunreachable-code-return") return false; - PRAGMA45(GCC diagnostic pop) + PRAGMACLANG6(GCC diagnostic pop) } return true; } -- cgit v1.2.3-70-g09d2