Ignore depricated warnings from <ext/hash_map> and <ext/hash_set>

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@272632 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Fiselier
2016-06-14 03:26:11 +00:00
parent bfdae2062a
commit 55ae1f0e07
2 changed files with 10 additions and 0 deletions

View File

@@ -7,6 +7,11 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// Prevent emission of the deprecated warning.
#ifdef __clang__
#pragma clang diagnostic ignored "-W#warnings"
#endif
#include <ext/hash_map> #include <ext/hash_map>
namespace __gnu_cxx { namespace __gnu_cxx {

View File

@@ -7,6 +7,11 @@
// //
//===----------------------------------------------------------------------===// //===----------------------------------------------------------------------===//
// Prevent emission of the deprecated warning.
#ifdef __clang__
#pragma clang diagnostic ignored "-W#warnings"
#endif
#include <ext/hash_set> #include <ext/hash_set>
namespace __gnu_cxx { namespace __gnu_cxx {