From 006ab1e2138c18d4f4621ccfe0fe991fb68539d0 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Sat, 27 Apr 2013 19:10:15 +0000 Subject: [PATCH] Only use Clang pragma when compiling with clang. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@180678 91177308-0d34-0410-b5e6-96231b3b80d8 --- src/hash.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hash.cpp b/src/hash.cpp index 75e773a3a..388ab2ebe 100644 --- a/src/hash.cpp +++ b/src/hash.cpp @@ -12,7 +12,9 @@ #include "stdexcept" #include "type_traits" +#ifdef __clang__ #pragma clang diagnostic ignored "-Wtautological-constant-out-of-range-compare" +#endif _LIBCPP_BEGIN_NAMESPACE_STD