From 4f598034d29abf6609ca1f697f98a02b3a786121 Mon Sep 17 00:00:00 2001 From: Howard Hinnant Date: Sun, 24 Jul 2011 23:59:50 +0000 Subject: [PATCH] http://llvm.org/bugs/show_bug.cgi?id=10469 git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@135897 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/ext/hash_map | 2 ++ include/ext/hash_set | 2 ++ 2 files changed, 4 insertions(+) diff --git a/include/ext/hash_map b/include/ext/hash_map index 49c8d11c..b74540be 100644 --- a/include/ext/hash_map +++ b/include/ext/hash_map @@ -204,7 +204,9 @@ template #include #include +#if __DEPRECATED #warning Use of the header is deprecated. Migrate to +#endif #pragma GCC system_header diff --git a/include/ext/hash_set b/include/ext/hash_set index e205db81..e20fd41e 100644 --- a/include/ext/hash_set +++ b/include/ext/hash_set @@ -197,7 +197,9 @@ template #include <__hash_table> #include +#if __DEPRECATED #warning Use of the header is deprecated. Migrate to +#endif namespace __gnu_cxx {