diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-30 17:49:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-30 17:49:50 +0300 |
commit | a344b0036c91ae0b9591803a0e18356bf8f37697 (patch) | |
tree | 504b8d013230bd285cc2c8ce96194a82b268a072 /src/utils/process.cpp | |
parent | 9e9a269cc0548f017b756f4158c957fb1edb894f (diff) | |
download | mv-a344b0036c91ae0b9591803a0e18356bf8f37697.tar.gz mv-a344b0036c91ae0b9591803a0e18356bf8f37697.tar.bz2 mv-a344b0036c91ae0b9591803a0e18356bf8f37697.tar.xz mv-a344b0036c91ae0b9591803a0e18356bf8f37697.zip |
Add macro with pragma for clang with some versions.
Diffstat (limited to 'src/utils/process.cpp')
-rw-r--r-- | src/utils/process.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<char *>(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; } |